DRUPAL-CONTRIB-2025-026

See a problem?
Import Source
https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/formatter_suite/DRUPAL-CONTRIB-2025-026.json
JSON Data
https://api.osv.dev/v1/vulns/DRUPAL-CONTRIB-2025-026
Aliases
Published
2025-03-19T18:53:42Z
Modified
2025-12-10T23:41:02.888139Z
Summary
[none]
Details

Formatter Suite provides a suite of field formatters to help present numbers, dates, times, text, links, entity references, files, and images. The module provides a custom formatter for link fields.

Drupal core does not sufficiently sanitize link element attributes, which can lead to a Cross Site Scripting vulnerability (XSS).

A separate fix for Drupal core has been released but this module requires a concurrent release to make use of the Drupal core fix.

This vulnerability is mitigated by that fact that an attacker would need to have the ability to add specific attributes to a Link field, which typically requires edit access via core web services, or a contrib or custom module.

References
Credits

Affected packages

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

Package

Name
drupal/formatter_suite
Purl
pkg:composer/drupal/formatter_suite

Affected ranges

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

Database specific

affected_versions
"<2.1.0"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/formatter_suite/DRUPAL-CONTRIB-2025-026.json"