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-36823

7.1 · HIGH
Published Jul 6, 2023 sanitize_project CWE-79 EPSS 0.71% (51th pctl)

Overview

CVE-2023-36823 is a high-severity vulnerability affecting sanitize_project sanitize. It was published on July 6, 2023 and has a CVSS 3.1 base score of 7.1 (HIGH).

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

Technical Description

Sanitize is an allowlist-based HTML and CSS sanitizer. Using carefully crafted input, an attacker may be able to sneak arbitrary HTML and CSS through Sanitize starting with version 3.0.0 and prior to version 6.0.2 when Sanitize is configured to use the built-in "relaxed" config or when using a custom config that allows `style` elements and one or more CSS at-rules. This could result in cross-site scripting or other undesired behavior when the malicious HTML and CSS are rendered in a browser. Sanitize 6.0.2 performs additional escaping of CSS in `style` element content, which fixes this issue. Users who are unable to upgrade can prevent this issue by using a Sanitize config that doesn't allow `style` elements, using a Sanitize config that doesn't allow CSS at-rules, or by manually escaping the character sequence `</` as `<\/` in `style` element content.

Remediation

Check the references section for vendor advisories and patches from sanitize_project. Update sanitize 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
sanitize_project sanitize >= 3.0.0, < 6.0.2 Affected

Frequently Asked Questions

What is CVE-2023-36823?

CVE-2023-36823 is a high-severity vulnerability affecting sanitize_project sanitize. It was published on July 6, 2023 and has a CVSS 3.1 base score of 7.1 (HIGH).

How severe is CVE-2023-36823?

This vulnerability has a CVSS 3.1 base score of 7.1, rated HIGH. 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-36823?

Check the references section for vendor advisories and patches from sanitize_project. Update sanitize 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-36823?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-36823 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.