Skip to main content
CVE-2025-11570VulnerabilityPublished

CVE-2025-11570: drupal-pattern-lab/unified-twig-extensions · Cross-site Scripting (XSS)

Affects drupal-pattern-lab/unified-twig-extensionsSource CVE Database V5

0

Not known to be exploited · CVSS 4.8 Medium.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 4.0 base score
4.8Medium
How severe the flaw is on the 0–10 CVSS scale.
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:P

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 10 Oct 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
drupal-pattern-lab/unified-twig-extensionsAffected
  • =0.0.0
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

Community reviews

Loading reviews…