CVE-2025-31675

Source
https://cve.org/CVERecord?id=CVE-2025-31675
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31675.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-31675
Aliases
Published
2025-03-31T21:35:20.059Z
Modified
2026-07-08T08:13:45.949445767Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004
Details

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal Drupal core allows Cross-Site Scripting (XSS).This issue affects Drupal core: from 8.0.0 before 10.3.14, from 10.4.0 before 10.4.5, from 11.0.0 before 11.0.13, from 11.1.0 before 11.1.5. It also affects the Drupal 7 module from versions 7.x-1.0 through 7.x-1.12.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/31xxx/CVE-2025-31675.json",
    "cwe_ids": [
        "CWE-79"
    ],
    "cna_assigner": "drupal"
}
References

Affected packages

Git / git.drupalcode.org/project/drupal

Affected ranges

Type
GIT
Repo
https://git.drupalcode.org/project/drupal
Events
Introduced
35c2f3ca5c935f3d8bde15932a712677c9bbd50f
Fixed
2c5ca7aca6286a0cb14d26c046490f6db19c591a
Introduced
efaa2a46341068974ec6927416ac58f1bed84cbb
Fixed
18ab15707b4dc70a63b5758f64f11b9edbf61f78
Introduced
140f94ff1051644c4416c7ed30cc5dd1f14507b2
Fixed
59b775ad8bc01baa7fc232454c0529eb0cb6f682
Introduced
09d3d7fd4a638e3cc53eff60922765ad3af19c66
Fixed
f286521ced6bdf91c92e9ff533c24021e8fc02f9
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "10.3.14"
        },
        {
            "introduced": "10.4.0"
        },
        {
            "fixed": "10.4.5"
        },
        {
            "introduced": "11.0.0"
        },
        {
            "fixed": "11.0.13"
        },
        {
            "introduced": "11.1.0"
        },
        {
            "fixed": "11.1.5"
        }
    ]
}
Type
GIT
Repo
https://git.drupalcode.org/project/link
Events
Introduced
2b160048c1fe2e04e86c9c394c56396e97641321
Last affected
688d36a3c1b919936c167d05c65e8a1f1acac03f
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "7.x-1.0"
        },
        {
            "last_affected": "7.x-1.12"
        }
    ]
}
Type
GIT
Repo
https://github.com/drupal/drupal
Events
Database specific
{
    "source": "CPE_RANGE",
    "cpe": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "10.3.14"
        },
        {
            "introduced": "10.4.0"
        },
        {
            "fixed": "10.4.5"
        },
        {
            "introduced": "11.0.0"
        },
        {
            "fixed": "11.0.13"
        },
        {
            "introduced": "11.1.0"
        },
        {
            "fixed": "11.1.5"
        }
    ]
}

Affected versions

10.*
10.0.0-alpha1
10.0.0-alpha3
10.0.0-alpha4
10.0.0-alpha5
10.1.0-alpha1
10.3.0-beta1
10.3.0-rc1
10.3.1
10.3.10
10.3.11
10.3.12
10.3.13
10.3.2
10.3.3
10.3.4
10.3.5
10.3.6
10.3.7
10.3.8
10.4.0
10.4.1
10.4.2
10.4.4
11.*
11.0.0
11.0.1
11.0.10
11.0.11
11.0.12
11.0.2
11.0.3
11.0.4
11.0.5
11.0.6
11.0.7
11.0.9
11.1.0
11.1.1
11.1.2
11.1.4
7.*
7.x-1.0
7.x-1.1
7.x-1.10
7.x-1.11
7.x-1.12
7.x-1.2
7.x-1.3
7.x-1.4
7.x-1.5-beta1
7.x-1.5-beta2
7.x-1.5-beta3
7.x-1.7
7.x-1.8
7.x-1.9
8.*
8.0.0
8.1.0-beta1
9.*
9.0.0-alpha1
9.0.0-alpha2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-31675.json"