{"id":"DRUPAL-CONTRIB-2025-025","details":"This module can be used to render Open API Documentation using the RapiDoc library. 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-31696","GHSA-86h4-w859-3hhv"],"modified":"2026-09-10T03:45:59.111371572Z","published":"2025-03-19T18:53:23Z","references":[{"type":"WEB","url":"https://www.drupal.org/sa-contrib-2025-025"}],"affected":[{"package":{"name":"drupal/rapidoc_elements_field_formatter","ecosystem":"Packagist:https://packages.drupal.org/8","purl":"pkg:composer/drupal/rapidoc_elements_field_formatter?repository_url=https:%2F%2Fpackages.drupal.org%2F8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.1"}],"database_specific":{"constraint":"\u003c1.0.1"}}],"database_specific":{"affected_versions":"\u003c1.0.1","source":"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/rapidoc_elements_field_formatter/DRUPAL-CONTRIB-2025-025.json"}}],"schema_version":"1.9.0","credits":[{"name":"Joseph Zhao (pandaski)","contact":["https://www.drupal.org/u/pandaski"]}]}