Advisory record · GHSA-2mrq-w8pv-5pvq

Malicious input can provoke XSS when preserving comments

CVSS 6.1 MediumEPSS 0.0037 · 31st percentile

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

PackageEcosystemAffectedFixed in
org.owasp.antisamy:antisamyMaven<1.7.51.7.5
Identifiers
GHSA-2mrq-w8pv-5pvq · CVE-2024-23635
Weakness (CWE)
CWE-79
Published
2 Feb 2024
Updated
10 Sept 2026

Machine-written summary

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

AntiSamy (org.owasp.antisamy:antisamy) versions before 1.7.5 are vulnerable to mutation cross-site scripting when the preserveComments directive is enabled in the policy file. An attacker who can supply crafted input can cause elements inside comments to be interpreted as executable in the sanitized output. Upgrade to AntiSamy 1.7.5 or later; if that is not possible, set preserveComments to false or remove it from the policy file.

Written 2 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.0037, the 31st percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:18 UTC First seen by agentprime
  2. 31 Oct 2026, 14:18 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.