DRUPAL-CONTRIB-2024-002

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/typogrify/DRUPAL-CONTRIB-2024-002.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2024-002
Aliases
  • CVE-2024-13238
Published
2024-01-10T18:00:05Z
Modified
2025-12-10T23:41:24.497016Z
Summary
[none]
Details

The Typogrify module brings the typographic refinements of Typogrify to Drupal. It provides a text filter and a Twig filter.

The typogrify Twig filter can be used to bypass the Twig auto-escape feature, leading to a persistent Cross Site Scripting (XSS) vulnerability.

This vulnerability is mitigated by the fact that it is only exposed when the twig filter is specifically used in a template to render content.

References
Credits

Affected packages

Packagist:https://packages.drupal.org/8 / drupal/typogrify

Package

Name
drupal/typogrify
Purl
pkg:composer/drupal/typogrify

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.3.0
Database specific
{
    "constraint": "<1.3.0"
}

Database specific

affected_versions
"<1.3.0"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/typogrify/DRUPAL-CONTRIB-2024-002.json"