Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-51652

6.1 · MEDIUM
Published Jan 2, 2024 spassarop CWE-79 EPSS 0.45% (37th pctl)

Overview

CVE-2023-51652 is a medium-severity vulnerability affecting spassarop owasp_antisamy_.net. It was published on January 2, 2024 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

OWASP AntiSamy .NET is a library for performing cleansing of HTML coming from untrusted sources. Prior to version 1.2.0, there is a potential for a mutation cross-site scripting (mXSS) vulnerability in AntiSamy caused by flawed parsing of the HTML being sanitized. To be subject to this vulnerability the `preserveComments` directive must be enabled in your policy file and also allow for certain tags at the same time. As a result, certain crafty inputs can result in elements in comment tags being interpreted as executable when using AntiSamy's sanitized output. This is patched in OWASP AntiSamy .NET 1.2.0 and later. See important remediation details in the reference given below. As a workaround, manually edit the AntiSamy policy file (e.g., antisamy.xml) by deleting the `preserveComments` directive or setting its value to `false`, if present. Also it would be useful to make AntiSamy remove the `noscript` tag by adding a line described in the GitHub Security Advisory to the tag definitio

Remediation

Check the references section for vendor advisories and patches from spassarop. Update owasp_antisamy_.net to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
spassarop owasp_antisamy_.net >= 0, < 1.2.0 Affected

Frequently Asked Questions

What is CVE-2023-51652?

CVE-2023-51652 is a medium-severity vulnerability affecting spassarop owasp_antisamy_.net. It was published on January 2, 2024 and has a CVSS 3.1 base score of 6.1 (MEDIUM).

How severe is CVE-2023-51652?

This vulnerability has a CVSS 3.1 base score of 6.1, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-51652?

Check the references section for vendor advisories and patches from spassarop. Update owasp_antisamy_.net to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-51652?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-51652 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.