{"id":"CVE-2022-29577","published":"2022-04-21T22:42:51Z","modified":"2026-10-08T21:24:19Z","title":"OWASP AntiSamy before 1.6.7 allows XSS via HTML tag smuggling on STYLE content with crafted input","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01328,"percentile":0.71711,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/nahsra/antisamy/releases/tag/v1.6.7","tags":["x_refsource_MISC"]},{"url":"https://github.com/nahsra/antisamy/commit/32e273507da0e964b58c50fd8a4c94c9d9363af0","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":14.34}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-08T21:15:19.125273Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.owasp.antisamy:antisamy","vulnerableRanges":["<1.6.7"],"patched":["1.6.7"],"from":["GHSA-vp37-2f9p-3vr3"],"provenance":"source"}],"summary":{"text":"OWASP AntiSamy, the HTML/CSS sanitization library, contains a flaw in versions before 1.6.7 in its output serializer, which fails to properly encode content handled as CSS within STYLE elements.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:21Z"},"euvd":{"id":"EUVD-2022-1842","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-org-owasp-antisamy-antisamy-cve-2022-28367","parents":[{"from":"CVE-2022-28367","to":"CVE-2022-29577","relation":"incomplete-fix","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2022-28367.","from":"CVE.org","in":"CVE-2022-29577"},{"kind":"version-step","provenance":"source","package":"Maven:org.owasp.antisamy:antisamy","fromFixed":"1.6.6","toFixed":"1.6.7","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/main/java/org/owasp/validator/html/scan/AntiSamyDOMScanner.java"],"commits":["https://github.com/nahsra/antisamy/commit/0199e7e194dba5e7d7197703f43ebe22401e61ae","https://github.com/nahsra/antisamy/commit/32e273507da0e964b58c50fd8a4c94c9d9363af0"],"basis":"shared function","functions":["processStyleTag"]},{"kind":"similar","provenance":"machine","score":0.94,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2017-14735","published":"2017-09-25","fixed":"1.5.7","kev":false},{"cve":"CVE-2021-35043","published":"2021-07-19","fixed":"1.6.4","kev":false},{"cve":"CVE-2022-28367","published":"2022-04-21","fixed":"1.6.6","kev":false},{"cve":"CVE-2022-29577","published":"2022-04-21","fixed":"1.6.7","kev":false},{"cve":"CVE-2023-43643","published":"2023-10-09","fixed":"1.7.4","kev":false,"link":{"from":"CVE-2022-29577","to":"CVE-2023-43643","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.owasp.antisamy:antisamy","fromFixed":"1.6.7","toFixed":"1.7.4","daysApart":536}]}},{"cve":"CVE-2024-23635","published":"2024-02-02","fixed":"1.7.5","kev":false}],"package":"Maven:org.owasp.antisamy:antisamy"}}