Description
OWASP AntiSamy before 1.6.7 allows XSS via HTML tag smuggling on STYLE content with crafted input. The output serializer does not properly encode the supposed Cascading Style Sheets (CSS) content. NOTE: this issue exists because of an incomplete fix for CVE-2022-28367.
Remediation
References
https://github.com/nahsra/antisamy/commit/32e273507da0e964b58c50fd8a4c94c9d9363af0
https://github.com/nahsra/antisamy/releases/tag/v1.6.7
https://www.oracle.com/security-alerts/cpujul2022.html
Related Vulnerabilities
CVE-2021-20087 Vulnerability in npm package jquery-deparam
CVE-2021-4040 Vulnerability in maven package org.apache.activemq:artemis-commons
CVE-2022-43410 Vulnerability in maven package org.jenkins-ci.plugins:mercurial
CVE-2018-11039 Vulnerability in maven package org.springframework:spring-web
CVE-2019-20149 Vulnerability in maven package org.webjars.bowergithub.jonschlinkert:kind-of