
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-69534 is a Denial of Service vulnerability in Python-Markdown version 3.8 where malformed HTML-like sequences (specifically <![ patterns) cause Python's html.parser.HTMLParser to raise an unhandled AssertionError during Markdown parsing. Because Python-Markdown does not catch this exception, any application processing attacker-controlled Markdown input may crash. The vulnerability was published on March 5, 2026, acknowledged by the vendor, and fixed in version 3.8.1. It carries a CVSS v3.1 base score of 7.5 (High) (Feedly, GitHub Issue).
The root cause is classified as CWE-400 (Uncontrolled Resource Consumption) and stems from Python-Markdown 3.8 passing malformed HTML-like input to Python's standard library html.parser.HTMLParser, which raises an AssertionError on sequences such as <![ followed by unexpected tokens. Python-Markdown does not wrap this call in exception handling, so the unhandled exception propagates and crashes the host application. Notably, the underlying bug originates in CPython's HTMLParser (tracked as cpython#77057, fixed in Python 3.13.4 and 3.14.0b2); Python-Markdown 3.8.1 provides a workaround for older Python versions. A public proof-of-concept exists demonstrating the crash by calling markdown.markdown(crash_input, extensions=["extra"]) with payloads like "<![" or "<![>og))/uw_..." (GitHub Issue, oss-security).
Successful exploitation causes an unhandled AssertionError that crashes the Markdown parsing process, resulting in a complete Denial of Service for any web application, documentation system, CI/CD pipeline, or service that renders untrusted Markdown. Additionally, uncaught exceptions may expose internal stack traces or application details to the attacker, creating a secondary risk of information disclosure. The attack requires no authentication and no user interaction, making it trivially exploitable against any internet-facing service accepting Markdown input (Feedly, GitHub Issue).
A public proof-of-concept is available on GitHub demonstrating reliable crash reproduction with specific malformed payloads (GitHub Issue). The vulnerability is exploitable remotely without authentication or user interaction, requiring only the ability to submit Markdown content to a vulnerable application. There is no evidence of in-the-wild exploitation or threat actor attribution at this time. The EPSS score is approximately 0.071% (low probability of exploitation in the near term), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog (Feedly).
<![ or <![>og))/uw_... that will be passed to html.parser.HTMLParser during parsing.markdown.markdown(payload, extensions=["extra"]), which internally invokes HTMLParser on the malformed sequence, raising an unhandled AssertionError that crashes the parsing thread or process.AssertionError exceptions originating from html.parser.HTMLParser during Markdown parsing; stack traces referencing Python-Markdown's HTML preprocessing code.<![ sequences.The primary remediation is to upgrade Python-Markdown from version 3.8 to version 3.8.1, which was released on June 18, 2025 and includes a workaround for the underlying HTMLParser bug (GitHub Actions). Upgrading CPython to version 3.13.4 or 3.14.0b2 (or later) also addresses the root cause in the standard library (oss-security). For applications that cannot be immediately patched, implement input validation to reject or sanitize malformed HTML-like sequences (e.g., <![) before passing content to the Markdown parser, restrict Markdown parsing to trusted sources only, or wrap Markdown parsing calls in a try/except block to prevent unhandled exceptions from crashing the application. Red Hat has issued multiple errata (e.g., RHSA-2026:9742, RHSA-2026:13512) and openSUSE has published security advisories addressing this vulnerability for their respective distributions (Feedly).
The vulnerability was disclosed on the oss-security mailing list on March 6, 2026 by Alan Coopersmith (Oracle Solaris Engineering), who noted that the root cause is a bug in CPython's HTMLParser (cpython#77057) and that Python-Markdown 3.8.1 provides a workaround for older Python versions (oss-security). The vendor acknowledged the issue and released a fix promptly. Multiple Linux distributions including openSUSE and Red Hat issued security advisories and package updates. Community discussion on the GitHub issue thread highlighted the upstream CPython nature of the bug and the importance of exception handling in Markdown parsers.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."