Skip to content
OpenAdvisories
Medium · 6.1 Public exploit CVE-2022-29577 EUVD-2022-1842GHSA-vp37-2f9p-3vr3

Cross-site Scripting in OWASP AntiSamy

Published Apr 21, 2022 · Updated Oct 8, 2026 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 libowasp-antisamy-java No fix yet —
Ubuntu 26.04 LTS libowasp-antisamy-java No fix yet —
Ubuntu 25.10 libowasp-antisamy-java No fix yet —
Ubuntu 24.04 LTS libowasp-antisamy-java No fix yet —
Ubuntu 22.04 LTS libowasp-antisamy-java No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS libowasp-antisamy-java No fix yet —
Ubuntu 18.04 LTS libowasp-antisamy-java No fix yet —
Ubuntu 16.04 LTS libowasp-antisamy-java No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.owasp.antisamy:antisamy < 1.6.7 1.6.7 GHSA-vp37-2f9p-3vr3

Advisories 3

References