Description
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.
Remediation
References
https://github.com/select2/select2/issues/4587
https://github.com/snipe/snipe-it/pull/6831
https://github.com/snipe/snipe-it/pull/6831/commits/5848d9a10c7d62c73ff6a3858edfae96a429402a
Related Vulnerabilities
CVE-2018-16462 Vulnerability in npm package apex-publish-static-files
CVE-2020-7724 Vulnerability in npm package tiny-conf
CVE-2016-10735 Vulnerability in maven package org.webjars.bowergithub.twbs:bootstrap-sass
CVE-2014-3623 Vulnerability in maven package org.apache.cxf:cxf
CVE-2021-29506 Vulnerability in maven package com.graphhopper:graphhopper-nav