{"id":"CVE-2022-29577","aliases":["EUVD-2022-1842","GHSA-vp37-2f9p-3vr3","UBUNTU-CVE-2022-29577"],"status":"published","title":"Cross-site Scripting in OWASP AntiSamy","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01328,"percentile":0.71242,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-79"],"published":"2022-04-21T22:42:51Z","modified":"2026-10-28T10:28:49Z","exploits":[{"source":"pocgithub","id":"shoucheng3/nahsra__antisamy_CVE-2022-29577_1-6-6-1","title":"shoucheng3/nahsra__antisamy_CVE-2022-29577_1-6-6-1","date":"2025-08-17","url":"https://github.com/shoucheng3/nahsra__antisamy_CVE-2022-29577_1-6-6-1"}],"fixes":[{"ecosystem":"Maven","package":"org.owasp.antisamy:antisamy","fixed_in":["1.6.7"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.owasp.antisamy:antisamy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.7"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.owasp.antisamy:antisamy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.7"}]}],"versions":["1.4.2","1.4.3","1.4.4","1.4.5","1.5","1.5.1","1.5.10","1.5.11","1.5.12","1.5.13","1.5.2","1.5.3","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9","1.6.0","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.6","1.6.6.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1.1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.5.3+dfsg-1.1","1.7.4-1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"libowasp-antisamy-java","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.7.4-1"]}],"products":[{"vendor":"antisamy_project","product":"antisamy"},{"vendor":"oracle","product":"enterprise_manager_base_platform"},{"vendor":"oracle","product":"weblogic_server"}],"references":[{"url":"https://github.com/nahsra/antisamy/releases/tag/v1.6.7","tags":["x_refsource_MISC","x_transferred","Release Notes","web","report"]},{"url":"https://github.com/nahsra/antisamy/commit/32e273507da0e964b58c50fd8a4c94c9d9363af0","tags":["x_refsource_MISC","x_transferred","Patch","fix","web","report"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-29577","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-vp37-2f9p-3vr3"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/29xxx/CVE-2022-29577.json","tags":["advisory"]},{"url":"https://github.com/nahsra/antisamy","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2022-29577","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-29577","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-29577","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.","status":"published","published":"2022-04-21T22:42:51Z","modified":"2026-10-08T21:24:19.489Z","updated_at":"2026-11-02T14:34:35.945659Z"}],"euvd":[{"id":"EUVD-2022-1842","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.","status":"published","published":"2022-04-21T22:42:51Z","modified":"2026-10-08T21:24:19Z","updated_at":"2026-11-02T17:27:25.942984Z"}],"ghsa":[{"id":"GHSA-vp37-2f9p-3vr3","title":"Cross-site Scripting in OWASP AntiSamy","description":"AntiSamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources. 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.","status":"published","published":"2022-04-23T00:03:04Z","modified":"2023-01-27T05:02:40Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:19.144959Z"}],"nvd":[{"id":"CVE-2022-29577","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.","status":"published","published":"2022-04-21T23:15:10.467Z","modified":"2026-10-08T22:17:20.68Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:16.9948Z"}],"osv":[{"id":"GHSA-vp37-2f9p-3vr3","title":"Cross-site Scripting in OWASP AntiSamy","description":"AntiSamy is a library for performing fast, configurable cleansing of HTML coming from untrusted sources. 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.","status":"published","published":"2022-04-23T00:03:04Z","modified":"2023-11-08T04:09:13.765317Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:57.348035Z"},{"id":"UBUNTU-CVE-2022-29577","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.","status":"published","published":"2022-04-21T23:15:00Z","modified":"2026-10-17T12:56:21.499080538Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:53:53.899276Z"},{"id":"CVE-2022-29577","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.","status":"published","published":"2022-04-21T22:42:51Z","modified":"2026-10-28T10:28:49.964430163Z","updated_at":"2026-11-02T15:44:25.164673Z"}]}}
