CVE-2025-10926 JSON Field - Critical - Cross Site Scripting - SA-CONTRIB-2025-106
Attackers can inject malicious scripts via the JSON Field module, potentially leading to session hijacking or code execution in Drupal sites.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-10926?
CVE-2025-10926 is a medium-severity cross-site scripting vulnerability in Drupal JSON Field, published on 29 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal JSON Field allows Cross-Site Scripting (XSS).This issue affects JSON Field: from 0.0.0 before 1.5.
Weakness: CWE-79
Which versions are affected by CVE-2025-10926?
2 open source packages ship an affected version, including drupal/json_field. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
drupal/json_field Packagist | All versions | 1.5 |
drupal/json_field Packagist | All versions | 1.5 |
Linux distribution packages (1)
drupal/json_field Packagist:https://packages.drupal.org/8 | All versions | 1.5.0 |
Products include Json Field Project Json Field.
How do I fix CVE-2025-10926?
Upgrade drupal/json_field to 1.5 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-10926 being exploited?
There is no known exploitation of CVE-2025-10926 in the wild and no public exploit code.
Sources
Also known as DRUPAL-CONTRIB-2025-106, GHSA-m3f2-xjgc-2wp2.