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-2020-5242 Vulnerability in maven package org.openhab.addons.bundles:org.openhab.transform.exec
CVE-2022-36083 Vulnerability in npm package jose-browser-runtime
CVE-2019-10382 Vulnerability in maven package org.jenkins-ci.plugins:labmanager
CVE-2020-12648 Vulnerability in maven package org.webjars.npm:tinymce
CVE-2022-23621 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore