6.1medium
RapiDoc OAS Field Formatter - Moderately critical - Cross site scripting - SA-CONTRIB-2025-025
- Severity
- 6.1medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.26% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- drupal
- Also known as
- GHSA-86h4-w859-3hhvDRUPAL-CONTRIB-2025-025
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal RapiDoc OAS Field Formatter allows Cross-Site Scripting (XSS).This issue affects RapiDoc OAS Field Formatter: from 0.0.0 before 1.0.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Drupal RapiDoc OAS Field Formatter | from 0.0.0 before 1.0.1 | CVE List |
| drupal/rapidoc_elements_field_formatter (Packagist) | before 1.0.1 | GitHub Advisory Database |
| drupal/rapidoc_elements_field_formatter (Packagist:https://packages.drupal.org/8) | before 1.0.1 | Drupal Security Team |
| chapterthree rapidoc_oas_field_formatter | before 1.0.1 | NVD |
All scores
| CISA-ADP | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 6.1low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal RapiDoc OAS Field Formatter allows Cross-Site Scripting (XSS).This issue affects RapiDoc OAS Field Formatter: from 0.0.0 before 1.0.1.
GitHub Advisory Database
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal RapiDoc OAS Field Formatter allows Cross-Site Scripting (XSS). This issue affects RapiDoc OAS Field Formatter: from 0.0.0 before 1.0.1.
Drupal Security Team
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.
NVD (es)
Vulnerabilidad de neutralización incorrecta de entrada durante la generación de páginas web ('Cross-site Scripting') en Drupal RapiDoc OAS Field Formatter permite Cross-Site Scripting (XSS). Este problema afecta a RapiDoc OAS Field Formatter: desde la versión 0.0.0 hasta la 1.0.1.
References
| https://www.drupal.org/sa-contrib-2025-025 | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-31696 | advisory | |
| https://git.drupalcode.org/project/rapidoc_elements_field_formatter | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-31696 changed 2025-04-29 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-86h4-w859-3hhv changed 2025-12-10 | CC-BY-4.0 |
| Drupal Security Team | DRUPAL-CONTRIB-2025-025 changed 2026-09-10 | MIT |
| NVD | CVE-2025-31696 changed 2026-06-17 | Public domain |