Skip to content

Cross-site Scripting in OWASP AntiSamy

Moderate severity GitHub Reviewed Published Apr 23, 2022 to the GitHub Advisory Database • Updated Jan 27, 2023

Package

maven org.owasp.antisamy:antisamy (Maven)

Affected versions

< 1.6.7

Patched versions

1.6.7

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.

References

Published by the National Vulnerability Database Apr 21, 2022
Published to the GitHub Advisory Database Apr 23, 2022
Reviewed Apr 26, 2022
Last updated Jan 27, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2022-29577

GHSA ID

GHSA-vp37-2f9p-3vr3

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.