CVE-2025-11570: drupal-pattern-lab/unified-twig-extensions · Cross-site Scripting (XSS)
Affects drupal-pattern-lab/unified-twig-extensionsSource CVE Database V5
Not known to be exploited · CVSS 4.8 Medium.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 11% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 10 Oct 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| drupal-pattern-lab/unified-twig-extensions | Affected
| Fixed in– |
AI-suggested
European organizations should take the following specific steps: 1) Identify all instances where drupal-pattern-lab/unified-twig-extensions version 0.0.0 is used, especially outside Drupal environments. 2) Migrate to the maintained drupal/unified_twig_ext package version 1.1.1, which contains the fix for this vulnerability. 3) If migration is not immediately possible, implement strict input validation and output encoding in Twig templates to sanitize user-supplied data and prevent script injection. 4) Restrict access to Pattern Lab environments and ensure they are not publicly exposed or accessible without authentication. 5) Monitor web application logs and user reports for suspicious activity indicative of XSS exploitation attempts. 6) Educate developers and content creators on the risks of using unmaintained packages and the importance of applying security updates. 7) Incorporate automated dependency scanning tools in CI/CD pipelines to detect vulnerable packages early. 8) Review and harden Content Security Policy (CSP) headers to limit the impact of potential XSS attacks. These targeted actions go beyond generic advice by focusing on the specific package, usage context, and environment exposure.
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)
References
- security.snyk.io/vuln/SNYK-PHP-DRUPALPATTERNLABUNIFIEDTWIGEXTENSIONS-8400877 (opens in a new tab)
- github.com/drupal-pattern-lab/unified-twig-extensions/blob/862b9deccab544ca68e3aaaccc257d14acc9b1f6/example/_twig-components/functions/link.function.php%23L9 (opens in a new tab)
- drupal.org/sa-contrib-2023-041 (opens in a new tab)