Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']`
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| twigphp | Twig | affected |
|
||||||
| twig | cssinliner-extra | affected |
|
||||||
| twig | markdown-extra | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Twig | Cssinliner-extra |
|
||||||||
| Twig | Markdown-extra |
|
||||||||
| Twigphp | Twig |
|
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-6311-1 | php-twig security update |
Debian DSA |
DSA-6320-1 | php-twig security update |
Github GHSA |
GHSA-jv8m-2544-3pg3 | Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']` |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.305% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Twig
Twig cssinliner-extra Twig markdown-extra Twigphp Twigphp twig |
|
| Vendors & Products |
Twig
Twig cssinliner-extra Twig markdown-extra Twigphp Twigphp twig |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | Twig: HTML-output filters in twig/* extras incorrectly declared `is_safe => ['all']` | |
| Weaknesses | CWE-116 | |
| References |
| |
| Metrics |
cvssV4_0
|