Security readout for executives and security teams
Plain-English summary
CVE-2023-36823 affects Sanitize, an HTML and CSS sanitizer. In specific configurations, malicious content could pass through filtering and execute in a user's browser. This matters most for applications that render user-supplied HTML sanitized by vulnerable Sanitize versions.
Executive priority
Prioritize remediation for public-facing applications that accept rich text or HTML from untrusted users. The issue enables browser-side code execution impact, but exposure depends on a specific sanitizer configuration.
Technical view
Sanitize versions 3.0.0 through before 6.0.2 insufficiently neutralize style element content when using the built-in relaxed configuration or custom configurations allowing style elements and CSS at-rules. The issue is CWE-79 cross-site scripting with CVSS 3.1 score 7.1.
Likely exposure
Exposure is limited to applications using affected Sanitize versions and configurations that allow style elements plus CSS at-rules, including the relaxed config. Systems not rendering attacker-controlled sanitized HTML are less likely exposed.
Exploitation context
The bundle does not show CISA KEV listing or confirmed active exploitation. The advisory describes crafted input causing arbitrary HTML and CSS to pass through and execute when rendered, requiring user interaction per the CVSS vector.
Researcher notes
Focus review on sanitizer policy, not only package presence. The critical condition is vulnerable Sanitize plus style elements and at-rules. The provided sources name 6.0.2 as the fixed release and describe configuration-based mitigations.
Mitigation direction
- Upgrade Sanitize to version 6.0.2 or later.
- Disable style elements in Sanitize configurations where possible.
- Disable CSS at-rules if style elements must remain allowed.
- If unable to upgrade, escape </ as <\/ inside style element content.
- Check vendor or distribution guidance for packaged Sanitize deployments.
Validation and detection
- Inventory applications and dependencies using rgrove Sanitize.
- Confirm installed Sanitize versions are not >=3.0.0 and <6.0.2.
- Review sanitizer configs for relaxed mode, style elements, and CSS at-rules.
- Identify routes rendering user-supplied sanitized HTML in browsers.
- Verify tests cover hostile style content handling after remediation.
Public sources used
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
CWE-79: User-session and phishing behavior lookup
Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Open ATT&CK lookupCVE-2023-36823 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
Open ATT&CK lookup- Severity
- High
- CVSS
- 7.1 (3.1)
- Known Exploited
- No
- Published
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
CNA and ADP enrichment extracted from CVE v5
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
CVSS vector scores
1 official scoreWe collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L2.83.7Primary CVE scoreVulnerability scoring details
Base CVSS 3.1 score
7.1HighVector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Source materials
- CVE List V5 sourceCVE List V5
- https://github.com/rgrove/sanitize/security/advisories/GHSA-f5ww-cq3m-q3g7CVE reference · x_refsource_CONFIRM
- https://github.com/rgrove/sanitize/commit/76ed46e6dc70820f38efe27de8dabd54dddb5220CVE reference · x_refsource_MISC
- https://github.com/rgrove/sanitize/releases/tag/v6.0.2CVE reference · x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2023/11/msg00008.htmlCVE reference
Products and packages named in the record
CWE details
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
