Vulnerability DatabaseCVE-2026-133245

CVE-2026-133245: 
Grafana vulnerability analysis and mitigation

Overview

CVE-2026-133245 is an uncaught exception (Denial of Service) vulnerability in the parse5 HTML parsing library for Node.js, affecting versions 7.0.0 through 8.1.0. The flaw exists in the Preprocessor#_processSurrogate method, where supplying two consecutive low surrogate characters (e.g., U+DC00 U+DC00) causes the preprocessor to incorrectly decode them as a surrogate pair, generating an out-of-range Unicode code point (0x110000) and throwing an uncaught RangeError from String.fromCodePoint. This crash can be triggered via parse(), parseFragment(), or streaming parser entry points, crashing the Node.js process. It carries a CVSS v3.1 base score of 7.5 (High) and a CVSS v4.0 base score of 8.7 (High) (GitHub Advisory, Feedly).

Technical details

The root cause is classified as CWE-248 (Uncaught Exception). In the vulnerable _processSurrogate method within preprocessor.ts (lines 80–93 of v8.1.0), the code checked only whether the next character code was a surrogate pair value (isSurrogatePair(nextCp)) without first verifying that the current character was a high surrogate. This allowed a lone low surrogate (0xDC00–0xDFFF) followed by another low surrogate to be treated as a valid pair, causing getSurrogatePairCodePoint to compute the invalid code point 0x110000, which String.fromCodePoint rejects with a RangeError. The fix (commit 9b57bf8) adds the guard !isSurrogatePair(cp) && before the pair-detection branch, ensuring only a high surrogate can start a pair. No authentication or special privileges are required; any network-accessible input path that feeds untrusted HTML to parse5 is exploitable (parse5 commit, preprocessor source).

Impact

Successful exploitation results in a complete crash of the Node.js process running the affected parse5 version, causing a full denial of service for any application that parses untrusted HTML input. There is no confidentiality or integrity impact — the vulnerability is purely an availability issue. Applications such as web scrapers, HTML sanitizers, server-side renderers, and any service built on libraries that depend on parse5 (e.g., jsdom, Cheerio, Angular, Lit) are at risk if they process user-supplied HTML (GitHub Advisory, parse5 release).

Exploitability

No public proof-of-concept exploit code is known to exist, and there is no evidence of in-the-wild exploitation at this time (Feedly). The vulnerability is rated as automatable (NVD SSVC: automatable=yes), meaning it can be triggered programmatically without user interaction, requiring only a crafted HTTP request or input containing two consecutive low surrogate characters. The EPSS score is 0.0, reflecting currently low exploitation probability. The CVE is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The vulnerability was reported by Joshua Rogers and Anthropic researchers (parse5 release).

Exploitation steps

  1. Identify target: Locate a Node.js application that accepts untrusted HTML input and processes it with parse5 versions 7.0.0–8.1.0 (e.g., a web form, API endpoint, or HTML sanitization service).
  2. Craft malicious payload: Construct an HTML string containing two consecutive low surrogate characters, such as \uDC00\uDC00 (Unicode code points U+DC00 U+DC00), embedded anywhere in the HTML input (e.g., in a tag name or text node).
  3. Submit payload: Send the crafted input to the target application via the relevant input channel (HTTP POST body, query parameter, WebSocket message, etc.).
  4. Trigger crash: The parse5 preprocessor's _processSurrogate method incorrectly treats the two low surrogates as a pair, computes the invalid code point 0x110000, and String.fromCodePoint throws an uncaught RangeError, crashing the Node.js process.
  5. Achieve DoS: The application becomes unavailable until the process is restarted; if no process supervisor is in place, the outage may be prolonged (parse5 commit, GitHub Advisory).

Indicators of compromise

  • Logs: Node.js process crash logs or stderr output containing RangeError: Invalid code point 1114112 (0x110000) with a stack trace referencing String.fromCodePoint and parse5's preprocessor.js or preprocessor.ts.
  • Process: Unexpected termination of the Node.js process; process supervisor (e.g., PM2, systemd) logs showing repeated restarts of the application.
  • Network: Repeated HTTP requests to HTML-parsing endpoints containing raw low surrogate byte sequences (\xED\xB0\x80\xED\xB0\x80 in UTF-8 encoding of U+DC00 U+DC00), potentially from a single source IP in a short time window.
  • Application: Increased rate of 500-level HTTP errors or connection resets from the affected service coinciding with specific input submissions.

Mitigation and workarounds

The primary remediation is to upgrade parse5 to version 8.1.1 or later, which corrects the surrogate pair detection logic in preprocessor.ts (parse5 release). Dependent packages (parse5-sax-parser, parse5-html-rewriting-stream, parse5-htmlparser2-tree-adapter, parse5-parser-stream, parse5-plain-text-conversion-stream) should also be updated as they require the fixed parse5. If immediate patching is not possible, implement input validation to reject or strip lone surrogate characters (code points in the range U+D800–U+DFFF) before passing input to parse5. As an additional defense-in-depth measure, wrap parse5 calls in a try/catch block to handle RangeError exceptions gracefully and prevent process crashes (GitHub Advisory).

Community reactions

The vulnerability was reported by security researcher Joshua Rogers and Anthropic researchers as part of a broader review that uncovered nineteen security-relevant issues in parse5, all addressed in the v8.1.1 release (parse5 release). The maintainer noted that private vulnerability reporting on the repository was inaccessible to current maintainers (only accessible to the original owner), which delayed formal CVE and GitHub Security Advisory filing — a process transparency concern highlighted in the PR and release notes (parse5 PR). The release was described as urgent, with the maintainer stating "Everyone who runs parse5 on untrusted input should update."

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Unknown

devel

node-parse5

Unknown

noble

node-parse5

Unknown

noble (esm-apps)

node-parse5

Unknown

resolute

node-parse5

Unknown

resolute (esm-apps)

node-parse5

Unknown

RHEL / CentOS

Affected

OpenShift

openshift4/ose-monitoring-plugin-rhel8

Affected

RHEL 8

Not Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related Grafana vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-134815CRITICAL9.2
  • Grafana logoGrafana
  • grafana-opentsdb
NoNoNov 22, 2026
CVE-2026-129935MEDIUM6.3
  • Grafana logoGrafana
  • container-tools:rhel8::skopeo.src
NoNoNov 19, 2026
CVE-2026-129934MEDIUM5.7
  • Grafana logoGrafana
  • container-tools:rhel8::podman-tests
NoNoNov 19, 2026
CVE-2026-133937MEDIUM5.5
  • Grafana logoGrafana
  • grafana.src
NoNoNov 20, 2026
CVE-2026-133487LOW2.1
  • Grafana logoGrafana
  • nodejs:26::nodejs-nodemon
NoYesNov 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management