CVE-2025-11570
drupal-pattern-lab/unified-twig-extensions is vulnerable to XXS
Also known as GHSA-64mv-9655-37hx
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Projects that depend on Packagist package drupal-pattern-lab/unified-twig-extensions (<= 0.1.0)
- Anyone running drupal-pattern-lab/unified-twig-extensions >= 0.0.0, < *
Vulnerability facts
- Affected
- drupal-pattern-lab/unified-twig-extensions <= 0.1.0
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 4.8 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:POpen in CVSS calculator
Show all 12 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: Active
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- Exploit maturity: Proof of concept
- EPSS
- 0.40% chance of exploitation in 30 days (percentile 26, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
Versions of the package drupal-pattern-lab/unified-twig-extensions from 0.0.0 are vulnerable to Cross-site Scripting (XSS) due to insufficient filtering of data. **Note:** This is exploitable only if the code is executed outside of Drupal; the function is intended to be shared between Drupal and Pattern Lab. The package drupal-pattern-lab/unified-twig-extensions is unmaintained, the fix for this issue exists in version 1.1.1 of [drupal/unified_twig_ext](https://www.drupal.org/project/unified_twig_ext)
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Packagist drupal-pattern-lab/unified-twig-extensions | <= 0.1.0 | — | osv |
| drupal-pattern-lab/unified-twig-extensions | >= 0.0.0, < * | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-11570. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-11570.md Affected: drupal-pattern-lab/unified-twig-extensions <= 0.1.0 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for drupal-pattern-lab/unified-twig-extensions (Packagist), drupal-pattern-lab/unified-twig-extensions: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://security.snyk.io/vuln/SNYK-PHP-DRUPALPATTERNLABUNIFIEDTWIGEXTENSIONS-8400877
- https://github.com/drupal-pattern-lab/unified-twig-extensions/blob/862b9deccab544ca68e3aaaccc257d14acc9b1f6/example/_twig-components/functions/link.function.php%23L9
- https://www.drupal.org/sa-contrib-2023-041
- https://github.com/drupal-pattern-lab/unified-twig-extensions
- https://www.drupal.org/project/unified_twig_ext
FAQ
Is CVE-2025-11570 being exploited?
There is no confirmed exploitation: CVE-2025-11570 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-11570?
Medium: CVSS 4.8 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.
Which versions are affected by CVE-2025-11570?
drupal-pattern-lab/unified-twig-extensions <= 0.1.0.
Is there a fix for CVE-2025-11570?
No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2025-11570?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.