CVE-2026-46637
CVE-2026-46637 — Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`
Twig is a template language for PHP. Prior to 3.26.0, several filters in twig/markdown-extra and twig/cssinliner-extra are registered with is_safe => [all], causing Twig to treat plain text or HTML output as safe in HTML, JavaScript, CSS, URL, and other contexts where the output is not properly escaped. This issue is fixed in version 3.26.0.
Published Updated Sources: cvelistV5, GitHub_M
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
5.1
MEDIUM
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 5.1 | CVSS 4.0 | MEDIUM | n/a | n/a | cvelistV5 |
Weakness & attack patterns
- CWE-116
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /markdown-extra, /cssinliner-extra.
References
4 on the record
- github.com/twigphp/Twig/security/advisories/GHSA-jv8m-2544-3pg3
x_refsource_CONFIRM
- github.com/twigphp/Twig/commit/84982072c79a7417b0d158a401d91344f3658299
x_refsource_MISC
- github.com/twigphp/Twig/commit/e36489d3521ecbfc08bdcc61294302557035f14a
x_refsource_MISC
- github.com/twigphp/Twig/releases/tag/v3.26.0
x_refsource_MISC
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2024-10441 Synology DiskStation Manager (DSM) Improper Encoding or Escaping of Output VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2022-42948 Fortra Cobalt Strike User Interface Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-38475 Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.CVSS 9.1 · CISA KEV
- CVE-2026-20245 Cisco Catalyst SD-WAN Controller Authenticated Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2022-24682 Synacor Zimbra Collaborate Suite (ZCS) Cross-Site Scripting VulnerabilityCVSS 6.1 · CISA KEV
- CVE-2026-126170 A improper encoding or escaping of output vulnerability in Fortinet FortiAnalyzer 8.0.0 through 8.0.2, FortiAnalyzer 7.6.0 through 7.6.7…CVSS 9.8
Elsewhere on this site
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.