SB2026112626 - Multiple vulnerabilities in Twig
Published: November 26, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 9 vulnerabilities.
1) Allocation of Resources Without Limits or Throttling (CVE-ID: CVE-2026-133773)
CWE-ID: CWE-770 - Allocation of Resources Without Limits or Throttling
CVSSv4: 2.3 [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]
The vulnerability allows a remote attacker to compromise the target system.
The vulnerability exists due to unbounded resource allocation in the html_to_markdown filter of twig/markdown-extra. A remote user can perform a denial of service (DoS) attack.
2) Protection mechanism failure (CVE-ID: CVE-2026-133766)
CWE-ID: CWE-693 - Protection Mechanism Failure
CVSSv4: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass implemented security restrictions.
The vulnerability exists due to insufficient implementation of security measures within __toString(). A remote user can bypass implemented security restrictions and gain access to sensitive information on the system.
3) Protection mechanism failure (CVE-ID: CVE-2026-133767)
CWE-ID: CWE-693 - Protection Mechanism Failure
CVSSv4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass implemented security restrictions.
The vulnerability exists due to insufficient implementation of security measures on dynamic parent expressions passed to embed tags. A remote user can bypass implemented security restrictions and execute arbitrary functions.
4) Incorrect authorization (CVE-ID: CVE-2026-133768)
CWE-ID: CWE-863 - Incorrect Authorization
CVSSv4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass authorization checks.
The vulnerability exists due to incorrect authorization in the join filter. A remote user can bypass authorization and gain access to sensitive information on the system.
5) Incorrect authorization (CVE-ID: CVE-2026-133769)
CWE-ID: CWE-863 - Incorrect Authorization
CVSSv4: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass authorization checks.
The vulnerability exists due to incorrect authorization in "html_cva()" variant values. A remote user can bypass authorization and gain access to sensitive information on the system.
6) Stored cross-site scripting (CVE-ID: CVE-2026-133770)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.
The vulnerability exists due to insufficient sanitization of user-supplied data within sandboxed templates. A remote user can inject and execute arbitrary HTML and script code in user's browser in context of vulnerable website.
Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.
7) Protection mechanism failure (CVE-ID: CVE-2026-133763)
CWE-ID: CWE-693 - Protection Mechanism Failure
CVSSv4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass implemented security restrictions.
The vulnerability exists due to missing __toString() sandbox policy checks on object arguments. A remote user can bypass implemented security restrictions and gain access to sensitive information on the system.
8) Protection mechanism failure (CVE-ID: CVE-2026-133764)
CWE-ID: CWE-693 - Protection Mechanism Failure
CVSSv4: 2.3 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass implemented security restrictions.
The vulnerability exists due to missing __toString() sandbox policy checks on object arguments. A remote user can bypass implemented security restrictions and gain access to sensitive information on the system.
9) Protection mechanism failure (CVE-ID: CVE-2026-133765)
CWE-ID: CWE-693 - Protection Mechanism Failure
CVSSv4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
The vulnerability allows a remote attacker to bypass implemented security restrictions.
The vulnerability exists due to insufficient implementation of security measures within assignment and destructuring expressions. A remote user can bypass implemented security restrictions and gain access to sensitive information on the system.
Remediation
Install update from vendor's website.
References
- https://github.com/twigphp/Twig/security/advisories/GHSA-CXP7-29FV-2J25
- https://github.com/twigphp/Twig/security/advisories/GHSA-56WP-8M9Q-4354
- https://github.com/twigphp/Twig/security/advisories/GHSA-FMP9-6WXR-CFMQ
- https://github.com/twigphp/Twig/security/advisories/GHSA-P2X6-PPF3-32R3
- https://github.com/twigphp/Twig/security/advisories/GHSA-GV3C-QHXR-HH56
- https://github.com/twigphp/Twig/security/advisories/GHSA-R34X-HH9H-9Q9C
- https://github.com/twigphp/Twig/security/advisories/GHSA-567W-CX2V-JC85
- https://github.com/twigphp/Twig/security/advisories/GHSA-RC9G-XWX4-RMFH
- https://github.com/twigphp/Twig/security/advisories/GHSA-CCRC-GQHF-3CXC