DRUPAL-CONTRIB-2025-025

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

This module can be used to render Open API Documentation using the RapiDoc library. 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/rapidoc_elements_field_formatter

Package

Name
drupal/rapidoc_elements_field_formatter
Purl
pkg:composer/drupal/rapidoc_elements_field_formatter

Affected ranges

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

Database specific

affected_versions
"<1.0.1"
source
"https://github.com/DrupalSecurityTeam/drupal-advisory-database/blob/main/advisories/rapidoc_elements_field_formatter/DRUPAL-CONTRIB-2025-025.json"