# CVE-2024-23635: Malicious input can provoke XSS when preserving comments

Source: https://junglewise.ai/threats/cve-2024-23635-malicious-input-can-provoke-xss-when-preserving-comments  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-02-02  
License: CC BY 4.0 with a link back

CVE-2024-23635 · Severity: low · CVSS 3.1 · Published 2024-02-02

Malicious input can provoke XSS when preserving comments

Technologies: [org.owasp.antisamy:antisamy (Maven)](https://junglewise.ai/threats/technologies/org-owasp-antisamy-antisamy). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-23635 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-23635 being exploited in the wild.

**How severe is CVE-2024-23635?** Low severity, with a CVSS score of 3.1, published 2 February 2024.

**Which products and versions are affected?** org.owasp.antisamy:antisamy (Maven) ECOSYSTEM:introduced=0,fixed=1.7.5.

**Is there a fix for CVE-2024-23635?** Yes. org.owasp.antisamy:antisamy (Maven): upgrade to 1.7.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-23635?** Check whether you run org.owasp.antisamy:antisamy (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.owasp.antisamy:antisamy (Maven): upgrade to 1.7.5 or later

  ```sh
  # set org.owasp.antisamy:antisamy to 1.7.5 in your pom.xml or build.gradle
  ```


## Affected products

- org.owasp.antisamy:antisamy (Maven) ECOSYSTEM:introduced=0,fixed=1.7.5

## Identifiers

- CVE-2024-23635
- GHSA-2mrq-w8pv-5pvq

## Related threats

- [mXSS in AntiSamy](https://junglewise.ai/threats/cve-2023-43643-mxss-in-antisamy)
- [Cross-site Scripting in OWASP AntiSamy](https://junglewise.ai/threats/cve-2022-29577-cross-site-scripting-in-owasp-antisamy)
- [Cross-site Scripting in OWASP AntiSamy](https://junglewise.ai/threats/cve-2022-28367-cross-site-scripting-in-owasp-antisamy)
- [Cross-site Scripting in OWASP AntiSamy](https://junglewise.ai/threats/cve-2021-35043-cross-site-scripting-in-owasp-antisamy)
- [Moderate severity vulnerability that affects org.owasp.antisamy:antisamy](https://junglewise.ai/threats/cve-2018-1000643-moderate-severity-vulnerability-that-affects-org-owasp-antisamy)
