# CVE-2025-31695: Link field display mode formatter - Moderately critical - Cross site scripting - SA-CONTRIB-2025-024

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2025-03-19T18:52:53.000Z
- Modified: 2026-09-10T03:45:55.823Z
- Also known as: GHSA-p2wg-8h29-874v, DRUPAL-CONTRIB-2025-024
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: drupal

## Description

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.

(As written by CVE List.)

## Affected

- Drupal Link field display mode formatter: from 0.0.0 before 1.6.0
- drupal/link_field_display_mode_formatter (Packagist): before 1.6.0
- drupal/link_field_display_mode_formatter (Packagist:https://packages.drupal.org/8): before 1.6.0
- upstreamable link_field_display_mode_formatter: before 1.6.0

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Low `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Low `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`

## 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)

## Sources

- CVE List: [CVE-2025-31695](https://www.cve.org/CVERecord?id=CVE-2025-31695), CVE Terms of Use, modified 2025-04-29
- GitHub Advisory Database: [GHSA-p2wg-8h29-874v](https://github.com/advisories/GHSA-p2wg-8h29-874v), CC-BY-4.0, modified 2025-12-10
- Drupal Security Team: [DRUPAL-CONTRIB-2025-024](https://osv.dev/vulnerability/DRUPAL-CONTRIB-2025-024), MIT, modified 2026-09-10
- NVD: [CVE-2025-31695](https://nvd.nist.gov/vuln/detail/CVE-2025-31695), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-31695 · Whole record: https://cve.day/CVE-2025-31695.json · Rebuilt by cve.day 2026-11-25T22:58:55.757Z
