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-23330 Vulnerability in npm package launchpad
CVE-2022-24785 Vulnerability in maven package org.webjars.bower:moment
CVE-2022-31170 Vulnerability in maven package org.webjars.npm:openzeppelin__contracts-upgradeable
CVE-2021-39184 Vulnerability in npm package electron
CVE-2023-29516 Vulnerability in maven package org.xwiki.platform:xwiki-platform-attachment-ui