Advisory record · GHSA-8x6f-956f-q43w

OWASP.AntiSamy mXSS when preserving comments

CVSS 6.1 MediumEPSS 0.0045 · 39th percentile

Published by the GitHub Advisory Database at 2 Jan 2024, 16:38 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
OWASP.AntiSamyNuGet<1.2.01.2.0
Identifiers
GHSA-8x6f-956f-q43w · CVE-2023-51652
Weakness (CWE)
CWE-79
Published
2 Jan 2024
Updated
16 Feb 2024

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

OWASP.AntiSamy versions before 1.2.0 are affected by a mutation XSS flaw in HTML sanitization. It applies only when the preserveComments directive is enabled in the policy and certain tags are also allowed, and crafted input can then make content inside comments execute as script in the sanitized output. Upgrade to OWASP.AntiSamy 1.2.0 or later; as a workaround, set preserveComments to false or remove it from the policy file, and remove the noscript tag from the tag rules.

Written 9 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0045, the 39th percentile, on 24 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:24 UTC First seen by agentprime
  2. 31 Oct 2026, 15:24 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.