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/snipe/snipe-it/pull/6831/commits/5848d9a10c7d62c73ff6a3858edfae96a429402a
https://github.com/snipe/snipe-it/pull/6831
https://github.com/select2/select2/issues/4587
Related Vulnerabilities
CVE-2005-4849 Vulnerability in maven package org.apache.derby:derby
CVE-2021-39150 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2021-32824 Vulnerability in maven package org.apache.dubbo:dubbo-common
CVE-2017-1000353 Vulnerability in maven package org.jenkins-ci.main:jenkins-core