{"id":"CVE-2022-28367","published":"2022-04-21T22:42:14Z","modified":"2024-08-03T05:56:14Z","title":"OWASP AntiSamy before 1.6.6 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.6 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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01006,"percentile":0.63823,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/nahsra/antisamy/releases/tag/v1.6.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/nahsra/antisamy/commit/0199e7e194dba5e7d7197703f43ebe22401e61ae","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":12.76}]},"affected":[{"ecosystem":"Maven","package":"org.owasp.antisamy:antisamy","vulnerableRanges":["<1.6.6"],"patched":["1.6.6"],"from":["GHSA-3pqg-4rqg-pg9g"],"provenance":"source"}],"summary":{"text":"OWASP AntiSamy, the HTML sanitization library, has a flaw before version 1.6.6 in which its output serializer does not properly encode content it treats as CSS inside STYLE elements.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:17Z"},"euvd":{"id":"EUVD-2022-1609","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-org-owasp-antisamy-antisamy-cve-2022-28367","children":[{"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-2016-10006","published":"2016-12-24","fixed":"1.5.5","kev":false},{"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,"link":{"from":"CVE-2021-35043","to":"CVE-2022-28367","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.owasp.antisamy:antisamy","fromFixed":"1.6.4","toFixed":"1.6.6","daysApart":276}]}},{"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},{"cve":"CVE-2024-23635","published":"2024-02-02","fixed":"1.7.5","kev":false}],"package":"Maven:org.owasp.antisamy:antisamy"}}