CVE-2025-31695
MEDIUM 6.1CVSS 3.1Drupal Link field display mode formatter Cross-Site Scripting (XSS) vulnerability
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Link field display mode formatter allows Cross-Site Scripting (XSS).This issue affects Link field display mode formatter: from 0.0.0 before 1.6.0.
- Published
- 31 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- mlhess@drupal.org
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- DRUPAL-CONTRIB-2025-024GHSA-p2wg-8h29-874v
- Sources
- NVDJSONOSV DRUPAL-CONTRIB-2025-024JSONOSV GHSA-p2wg-8h29-874vJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | 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 | |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | upstreamable | link_field_display_mode_formattercpe:2.3:a:upstreamable:link_field_display_mode_formatter:*:*:*:*:*:drupal:*:* |
< 1.6.0 | 1.6.0 |
| OSV | Packagist:https://packages.drupal.org/8 | drupal/link_field_display_mode_formatter | < 1.6.0 | 1.6.0 |
| OSV | Packagist | drupal/link_field_display_mode_formatter | < 1.6.0 | 1.6.0 |
References
- https://www.drupal.org/sa-contrib-2025-024 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-31695 · ADVISORY
- https://git.drupalcode.org/project/link_field_display_mode_formatter · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 31 Mar 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 1 Apr 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Mar 2025)