CVE-2022-28367
MEDIUM 6.1CVSS 3.1Cross-site Scripting in OWASP AntiSamy
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.
- Published
- 21 Apr 2022
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-3pqg-4rqg-pg9g
- Sources
- NVDJSONOSV GHSA-3pqg-4rqg-pg9gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | antisamy_project | antisamycpe:2.3:a:antisamy_project:antisamy:*:*:*:*:*:*:*:* |
< 1.6.6 | 1.6.6 |
| OSV | Maven | org.owasp.antisamy:antisamy | < 1.6.6 | 1.6.6 |
References
- https://github.com/nahsra/antisamy/commit/0199e7e194dba5e7d7197703f43ebe22401e61ae · Patch, Third Party Advisory, WEB
- https://github.com/nahsra/antisamy/releases/tag/v1.6.6 · Patch, Release Notes, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-28367 · ADVISORY
- https://github.com/nahsra/antisamy · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 21 Apr 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 23 Apr 2022)