Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-133773
Published:November 24, 2026
Updated:November 27, 2026
The html_to_markdown filter of twig/markdown-extra keeps an HtmlConverter for each distinct mapping of options it receives. They're kept in a static array, with no size limit and no eviction. The options are an argument of the filter. A template that passes options taken from the input, or a sandboxed template, can therefore make this cache grow without limit. The cache outlives the environment, so it fills the memory of long-running workers. The cache now keeps at most 100 converters, like the formatter caches of IntlExtension.
Affected Packages
https://github.com/twigphp/Twig.git (GITHUB):
Affected version(s) >=v2.12.0 <v3.31.1 || >=v3.0.0-BETA1 <v3.31.1
Fix Suggestion:
Update to version v3.31.1
https://github.com/twigphp/Twig.git (GITHUB):
Affected version(s) =v4.0.0-alpha1 <v4.0.0-beta1
Fix Suggestion:
Update to version v4.0.0-beta1
twig/markdown-extra (PHP):
Affected version(s) =v4.0.0-alpha1 <v4.0.0-beta1
Fix Suggestion:
Update to version v4.0.0-beta1
twig/markdown-extra (PHP):
Affected version(s) >=v3.0.0-BETA1 <v3.31.1 || >=v2.12.0 <v3.31.1
Fix Suggestion:
Update to version v3.31.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
2.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling
EPSS
Base Score:
0.58