{"id":"CVE-2025-11570","aliases":["EUVD-2025-33657","GHSA-64mv-9655-37hx"],"status":"published","title":"drupal-pattern-lab/unified-twig-extensions is vulnerable to XXS","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.\r\r**Note:**\rThis is exploitable only if the code is executed outside of Drupal; the function is intended to be shared between Drupal and Pattern Lab.\r\rThe 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)","severity":{"version":"4.0","score":4.8,"vector":"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","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00221,"percentile":0.12818,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2025-10-10T05:00:07Z","modified":"2026-10-19T16:10:00Z","affected":[{"source":"ghsa","ecosystem":"Packagist","package":"drupal-pattern-lab/unified-twig-extensions","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.0"}]}]},{"source":"osv","ecosystem":"Packagist","package":"drupal-pattern-lab/unified-twig-extensions","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.0"}]}],"versions":["v0.1.0"]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PHP-DRUPALPATTERNLABUNIFIEDTWIGEXTENSIONS-8400877","tags":["web"]},{"url":"https://github.com/drupal-pattern-lab/unified-twig-extensions/blob/862b9deccab544ca68e3aaaccc257d14acc9b1f6/example/_twig-components/functions/link.function.php%23L9","tags":["web"]},{"url":"https://www.drupal.org/sa-contrib-2023-041","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-11570","tags":["advisory"]},{"url":"https://www.drupal.org/project/unified_twig_ext","tags":["web"]},{"url":"https://github.com/advisories/GHSA-64mv-9655-37hx"},{"url":"https://github.com/drupal-pattern-lab/unified-twig-extensions","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-11570","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.\r\r**Note:**\rThis is exploitable only if the code is executed outside of Drupal; the function is intended to be shared between Drupal and Pattern Lab.\r\rThe 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)","status":"published","published":"2025-10-10T05:00:07.32Z","modified":"2025-10-10T18:19:52.002Z","cvss":[{"version":"4.0","score":4.8,"vector":"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","level":"medium","assessor":"cna"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:32:51.199669Z"}],"euvd":[{"id":"EUVD-2025-33657","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.\r\r**Note:**\rThis is exploitable only if the code is executed outside of Drupal; the function is intended to be shared between Drupal and Pattern Lab.\r\rThe 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)","status":"published","published":"2025-10-10T05:00:07Z","modified":"2025-10-10T18:19:52Z","cvss":[{"version":"4.0","score":4.8,"vector":"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","level":"medium"}],"updated_at":"2026-11-02T20:31:33.954405Z"}],"ghsa":[{"id":"GHSA-64mv-9655-37hx","title":"drupal-pattern-lab/unified-twig-extensions is vulnerable to XXS","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.\n\n**Note:**\nThis is exploitable only if the code is executed outside of Drupal; the function is intended to be shared between Drupal and Pattern Lab.\n\nThe 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), but is not published to the Composer PHP registry.","status":"published","published":"2025-10-10T06:30:55Z","modified":"2025-10-10T23:51:46Z","cvss":[{"version":"4.0","score":1.9,"vector":"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","level":"low"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:39:00.807341Z"}],"nvd":[{"id":"CVE-2025-11570","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.\r\r**Note:**\rThis is exploitable only if the code is executed outside of Drupal; the function is intended to be shared between Drupal and Pattern Lab.\r\rThe 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)","status":"published","published":"2025-10-10T05:15:33.38Z","modified":"2026-10-19T16:10:00.26Z","cvss":[{"version":"4.0","score":1.9,"vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"low","assessor":"secondary"},{"version":"3.1","score":4.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:11:36.851295Z"}],"osv":[{"id":"GHSA-64mv-9655-37hx","title":"drupal-pattern-lab/unified-twig-extensions is vulnerable to XXS","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.\n\n**Note:**\nThis is exploitable only if the code is executed outside of Drupal; the function is intended to be shared between Drupal and Pattern Lab.\n\nThe 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), but is not published to the Composer PHP registry.","status":"published","published":"2025-10-10T06:30:55Z","modified":"2025-10-11T00:12:31.431371Z","cvss":[{"version":"4.0","score":1.9,"vector":"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","level":"low"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:39.266402Z"}]}}
