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-1327 Vulnerability in maven package org.apache.struts:struts2-rest-plugin
CVE-2019-1003071 Vulnerability in maven package hudson.plugins.octopusdeploy:octopusdeploy
CVE-2022-23541 Vulnerability in maven package org.webjars.npm:jsonwebtoken
CVE-2022-25857 Vulnerability in maven package org.yaml:snakeyaml
CVE-2018-11761 Vulnerability in maven package org.apache.tika:tika-parsers