Skip to main content
VulnerabilityPublished

CVE-2026-133773: twig/markdown-extra · Unthrottled Resource Allocation

Affects twig/markdown-extraSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 2.3 Low : upgrade to 3.31.1 when convenient.

Data as of 24 Nov 2026, 13:40 UTC

CVSS 4.0 base score
2.3Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Symfony)CVSS 4.02.3
Patch
Available – fixed in 3.31.1
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 24 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Upgrade twig/markdown-extra to 3.31.1.

Affected software

ProductAffectedFixed in
Twigtwig/markdown-extraAffected
  • <3.31.1
Fixed in
  • 3.31.1
Packagisttwig/markdown-extrapkg:composer/twig/markdown-extraOther threatsAffected
  • <3.31.1
Fixed in
  • 3.31.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to twig/markdown-extra version 3.31.1 or later, where the cache size is limited to 100 converters, preventing unbounded memory growth. No other mitigation is required as the issue is fixed in this official release.

Description

CVE-2026-133773 is a low severity vulnerability in the twig/markdown-extra package of Twig. The html_to_markdown filter maintains a static cache of HtmlConverter instances keyed by distinct option mappings. This cache has no size limit or eviction policy, allowing unbounded growth if options are influenced by user input or sandboxed templates. This can cause memory exhaustion in long-running worker processes. The issue is fixed in version 3.31.1 by limiting the cache size to 100 converters.

References

Community reviews

Loading reviews…