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-19361 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind
CVE-2017-16168 Vulnerability in npm package wffserve
CVE-2019-20365 Vulnerability in maven package org.igniterealtime.openfire:xmppserver
CVE-2017-12882 Vulnerability in maven package org.springframework.batch:spring-batch-admin
CVE-2022-21169 Vulnerability in npm package express-xss-sanitizer