VDB
Sign up
MEDIUM6.1

GHSA-rf66-hmqf-q3fc

Improper Neutralization of Input During Web Page Generation in Select2

Quick fix

GHSA-rf66-hmqf-q3fc — select2: upgrade to the fixed version with the command below.

npm install select2@4.0.6

Details

In Select2 through 4.0.5, as used in Snipe-IT and other products, rich selectlists allow XSS. This affects use cases with Ajax remote data loading when HTML templates are used to display listbox data.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/select2
Introduced in: 0Fixed in: 4.0.6
Fixnpm install select2@4.0.6

References