{"id":"DRUPAL-CONTRIB-2025-026","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.\n\nDrupal core does not sufficiently sanitize link element attributes, which can lead to a Cross Site Scripting vulnerability (XSS).\n\nA separate fix for Drupal core has been released but this module requires a concurrent release to make use of the Drupal core fix.\n\nThis 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.","aliases":["CVE-2025-31697","GHSA-5r66-vgc7-2mm3"],"modified":"2026-09-10T03:45:41.419082371Z","published":"2025-03-19T18:53:42Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2025-026"}],"affected":[{"package":{"name":"drupal/formatter_suite","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/formatter_suite?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0"}],"database_specific":{"constraint":"\u003c2.1.0"}}],"database_specific":{"source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/formatter_suite/DRUPAL-CONTRIB-2025-026.json","affected_versions":"\u003c2.1.0"}}],"schema_version":"1.9.0","credits":[{"name":"Daniel Wehner (dawehner)","contact":["https://www.drupal.org/u/dawehner"]},{"name":"Joseph Zhao (pandaski)","contact":["https://www.drupal.org/u/pandaski"]}]}