MEDIUM · CVSS 4.6 Published: 2025-10-10
CVE-2025-11570 — Technical Security Advisory & CVSS Profile
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)
Technical Metadata
| Identifier | CVE-2025-11570 |
|---|---|
| Base Severity / Score | MEDIUM (4.6 / 10.0) |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N |
| Weakness Classification | CWE-79 |
| Archive Categories | MEDIUM Advisories · 2025 Index |
Operational Mitigation Guidance
Schedule vendor updates during routine patching windows and verify whether affected code paths are reachable in your deployment configuration. For architectural isolation principles, review per-process namespace isolation.
Upstream References
- https://github.com/drupal-pattern-lab/unified-twig-extensions/blob/862b9deccab544ca68e3aaaccc257d14acc9b1f6/example/_twig-components/functions/link.function.php%23L9
- https://security.snyk.io/vuln/SNYK-PHP-DRUPALPATTERNLABUNIFIEDTWIGEXTENSIONS-8400877
- https://www.drupal.org/sa-contrib-2023-041
Related Security Advisories
CVE-2025-11564 MEDIUM 5.3
CVE-2025-11571 MEDIUM 0
CVE-2025-11563 MEDIUM 4.6
CVE-2025-11579 MEDIUM 5.3
CVE-2025-11580 MEDIUM 5.3
CVE-2025-11581 MEDIUM 5.3