Files
vuln-osv/data/Packagist/DRUPAL-CONTRIB-2025-024.json

1 line
1.6 KiB
JSON

{"schema_version":"1.9.0","id":"DRUPAL-CONTRIB-2025-024","published":"2025-03-19T18:52:53Z","modified":"2026-09-10T03:45:55.823592895Z","aliases":["CVE-2025-31695","GHSA-p2wg-8h29-874v"],"details":"This module adds a formatter for link fields that displays the current entity with another view mode inside the link.\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.","affected":[{"package":{"name":"drupal/link_field_display_mode_formatter","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/link_field_display_mode_formatter?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.6.0"}],"database_specific":{"constraint":"<1.6.0"}}],"database_specific":{"affected_versions":"<1.6.0","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/link_field_display_mode_formatter/DRUPAL-CONTRIB-2025-024.json"}}],"references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2025-024"}],"credits":[{"name":"Daniel Wehner (dawehner)","contact":["https://www.drupal.org/u/dawehner"]},{"name":"Joseph Zhao (pandaski)","contact":["https://www.drupal.org/u/pandaski"]}]}