WaratekVRT Sign in

CVE-2022-28367 AntiSamy

Affected softwareAntiSamy
Severity6.1 Medium CVSS 3.1 2 scores
Fixed in1.6.6
WeaknessCross-site scripting (CWE-79)
Published21 Apr 2022
Updated17 Jun 2026

Description

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published 4 years ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment no assessment published
  • Indexed PoC none indexed
  • EPSS 1.0% chance in 30 days

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

  • Protection full
  • Action available security rule
  • Review human Researcher
  • Record active
Decided by Manual classification of this CVE in the legacy dataset
Finding A manual classification set this CVE's status to Protected by Waratek.

How to mitigate CVE-2022-28367

Upgrade AntiSamy to 1.6.6 or later. Until you can, Waratek RASP blocks exploitation with a security rule that blocks this kind of attack. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

CVSS

6.1 MEDIUM v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 6.1 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N NVD Primary published
CVSS 2.0 4.3 none AV:N/AC:M/Au:N/C:N/I:P/A:N NVD Primary

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.owasp.antisamy:antisamy 0 1.6.6 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
nvd antisamy project antisamy generic < 1.6.6
osv org.owasp.antisamy antisamy generic < 1.6.6

References

URLTags
https://github.com/nahsra/antisamy/commit/0199e7e194dba5e7d7197703f43ebe22401e61ae WEB
https://github.com/nahsra/antisamy PACKAGE
https://github.com/nahsra/antisamy/releases/tag/v1.6.6 WEB

Timeline

Published2022-04-21By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.