{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2026-133773", "assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6", "state": "PUBLISHED", "assignerShortName": "Symfony", "dateReserved": "2026-11-20T14:01:43.159Z", "datePublished": "2026-11-24T13:07:55.938Z", "dateUpdated": "2026-11-24T13:07:55.938Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6", "shortName": "Symfony", "dateUpdated": "2026-11-24T13:07:55.938Z" }, "title": "Unbounded Converter Memoisation in twig/markdown-extra Keyed on Template-Controlled Options", "datePublic": "2026-11-24T12:58:53.000Z", "descriptions": [ { "lang": "en", "value": "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.\n\nThe cache now keeps at most 100 converters, like the formatter caches of IntlExtension.", "supportingMedia": [ { "type": "text/markdown", "base64": false, "value": "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.\n\nThe cache now keeps at most 100 converters, like the formatter caches of `IntlExtension`." } ] } ], "affected": [ { "vendor": "Twig", "product": "twig/markdown-extra", "collectionURL": "https://packagist.org", "packageName": "twig/markdown-extra", "repo": "https://github.com/twigphp/Twig", "defaultStatus": "unaffected", "versions": [ { "version": "0", "status": "affected", "lessThan": "3.31.1", "versionType": "semver" } ] } ], "problemTypes": [ { "descriptions": [ { "lang": "en", "cweId": "CWE-770", "description": "CWE-770 Allocation of Resources Without Limits or Throttling", "type": "CWE" } ] } ], "metrics": [ { "format": "CVSS", "scenarios": [ { "lang": "en", "value": "GENERAL" } ], "cvssV4_0": { "version": "4.0", "vectorString": "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", "baseScore": 2.3, "baseSeverity": "LOW" } } ], "references": [ { "url": "https://symfony.com/cve-2026-133773", "name": "CVE-2026-133773", "tags": [ "vendor-advisory" ] }, { "url": "https://github.com/twigphp/Twig/security/advisories/GHSA-cxp7-29fv-2j25", "name": "GHSA-cxp7-29fv-2j25", "tags": [ "vendor-advisory" ] }, { "url": "https://github.com/twigphp/Twig/commit/6f9962f230425da39e970023a322d641c9089035", "tags": [ "patch" ] } ], "credits": [ { "lang": "en", "value": "Nicolas Grekas", "type": "finder" } ], "source": { "advisory": "GHSA-cxp7-29fv-2j25", "discovery": "UNKNOWN" }, "x_generator": { "engine": "symfony/ghsa-to-cve" } } } }