Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. drupal-pattern-lab/unified-twig-extensions
  4. ›
  5. CVE-2025-11570

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

October 10, 2025

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, but is not published to the Composer PHP registry.

References

  • github.com/advisories/GHSA-64mv-9655-37hx
  • github.com/drupal-pattern-lab/unified-twig-extensions
  • github.com/drupal-pattern-lab/unified-twig-extensions/blob/862b9deccab544ca68e3aaaccc257d14acc9b1f6/example/_twig-components/functions/link.function.php%23L9
  • nvd.nist.gov/vuln/detail/CVE-2025-11570
  • security.snyk.io/vuln/SNYK-PHP-DRUPALPATTERNLABUNIFIEDTWIGEXTENSIONS-8400877
  • www.drupal.org/project/unified_twig_ext
  • www.drupal.org/sa-contrib-2023-041

Code Behaviors & Features

Detect and mitigate CVE-2025-11570 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.1.0

Solution

Unfortunately, there is no solution available yet.

Impact 4.6 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/drupal-pattern-lab/unified-twig-extensions/CVE-2025-11570.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 04 Nov 2025 12:18:46 +0000.