# CVE-2025-11570: drupal-pattern-lab/unified-twig-extensions is vulnerable to XXS

- Severity: Medium 4.8 (CVSS:4.0, scored by snyk) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-10-10T05:00:07.320Z
- Modified: 2026-10-19T16:10:00.260Z
- Also known as: GHSA-64mv-9655-37hx
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

## 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)

(As written by CVE List.)

## Affected

- drupal-pattern-lab/unified-twig-extensions: from 0.0.0 before *
- drupal-pattern-lab/unified-twig-extensions (Packagist): up to 0.1.0

## Every score

- snyk: CVSS:4.0 4.8 Medium `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`
- snyk: CVSS:3.1 4.6 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N/E:P`
- GitHub: CVSS:4.0 Low `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`

## References

- <https://security.snyk.io/vuln/SNYK-PHP-DRUPALPATTERNLABUNIFIEDTWIGEXTENSIONS-8400877> (web)
- <https://github.com/drupal-pattern-lab/unified-twig-extensions/blob/862b9deccab544ca68e3aaaccc257d14acc9b1f6/example/_twig-components/functions/link.function.php%23L9> (web)
- <https://www.drupal.org/sa-contrib-2023-041> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-11570> (advisory)
- <https://github.com/drupal-pattern-lab/unified-twig-extensions> (package)
- <https://www.drupal.org/project/unified_twig_ext> (web)

## Sources

- CVE List: [CVE-2025-11570](https://www.cve.org/CVERecord?id=CVE-2025-11570), CVE Terms of Use, modified 2025-10-10
- GitHub Advisory Database: [GHSA-64mv-9655-37hx](https://github.com/advisories/GHSA-64mv-9655-37hx), CC-BY-4.0, modified 2025-10-11
- NVD: [CVE-2025-11570](https://nvd.nist.gov/vuln/detail/CVE-2025-11570), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-11570 · Whole record: https://cve.day/CVE-2025-11570.json · Rebuilt by cve.day 2026-11-25T22:59:05.741Z
