CVE-2025-31697
mediumpriority · track · 0EPSS 0.003 · 18 %ileDEEUUSEPSS · scored 2026-10-26
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Formatter Suite allows Cross-Site Scripting (XSS).This issue affects Formatter Suite: from 0.0.0 before 2.1.0.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (18)
Products and version ranges known to be affected.
- formatter suite project formatter suite< 2.1.0nvdUScpe:2.3:a:formatter_suite_project:formatter_suite:*:*:*:*:*:*:*:*
- Packagist:https://packages.drupal.org/8 drupal/formatter_suite< 2.1.0osvUSpkg:composer/drupal/formatter_suite
- Packagist:https://packages.drupal.org/8 drupal/formatter_suite< 2.1.0osvUSpkg:composer/drupal/formatter_suite?repository_url=https:%2F%2Fpackages.drupal.org%2F8
advisories (3)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2025-0599Drupal: Mehrere Schwachstellen ermöglichen Cross-Site ScriptingDeutsch2025-03-19csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in Drupal und mehreren Erweiterungen ausnutzen, um einen Cross-Site-Scripting-Angriff durchzuführen.
- GHSA-5r66-vgc7-2mm3Drupal Formatter Suite Vulnerable to Cross-Site Scripting (XSS) via Link Element Attributes2025-04-01ghsa · osvUS
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Formatter Suite allows Cross-Site Scripting (XSS).This issue affects Formatter Suite: from 0.0.0 before 2.1.0.
- DRUPAL-CONTRIB-2025-0262025-03-19vendor · osvUS
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. 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.
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (5)
External citations — patches, advisories, analysis.
- https://nvd.nist.gov/vuln/detail/CVE-2025-31697cnnvd
- https://vigilance.fr/vulnerability/Drupal-Formatter-Suite-Cross-Site-Scripting-dated-20-03-2025-46636cnnvd
- https://www.drupal.org/sa-contrib-2025-026cnnvd
- https://www.drupal.org/sa-contrib-2025-026enisa_euvd
- https://www.drupal.org/sa-contrib-2025-026Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan