CVE-2025-31675 (GCVE-0-2025-31675)

Vulnerability from cvelistv5 – Published: 2025-03-31 21:35 – Updated: 2026-04-02 22:35
VLAI
Title
Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004
Summary
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.
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-04-01 18:21 UTC
CWE
  • CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Impacted products
Vendor Product Version CPE status
Drupal Drupal core Affected: 8.0.0 , < 10.3.14 (semver)
Affected: 10.4.0 , < 10.4.5 (semver)
Affected: 11.0.0 , < 11.0.13 (semver)
Affected: 11.1.0 , < 11.1.5 (semver)
guessed Create a notification for this product.
Drupal Link Affected: 7.x-1.0 , ≤ 7.x-1.12 (custom)
guessed Create a notification for this product.
Date Public
2025-03-19 18:54
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "NONE",
              "baseScore": 5.4,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "LOW",
              "integrityImpact": "LOW",
              "privilegesRequired": "LOW",
              "scope": "CHANGED",
              "userInteraction": "REQUIRED",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2025-31675",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-04-01T18:21:31.894556Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-04-29T15:45:10.519Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://www.drupal.org/project/drupal",
          "defaultStatus": "unaffected",
          "product": "Drupal core",
          "repo": "https://git.drupalcode.org/project/drupal",
          "vendor": "Drupal",
          "versions": [
            {
              "lessThan": "10.3.14",
              "status": "affected",
              "version": "8.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "10.4.5",
              "status": "affected",
              "version": "10.4.0",
              "versionType": "semver"
            },
            {
              "lessThan": "11.0.13",
              "status": "affected",
              "version": "11.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "11.1.5",
              "status": "affected",
              "version": "11.1.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "collectionURL": "https://www.drupal.org/project/link",
          "defaultStatus": "unaffected",
          "product": "Link",
          "repo": "https://git.drupalcode.org/project/link",
          "vendor": "Drupal",
          "versions": [
            {
              "lessThanOrEqual": "7.x-1.12",
              "status": "affected",
              "version": "7.x-1.0",
              "versionType": "custom"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "Samuel Mortenson (samuel.mortenson)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Benji Fisher (benjifisher)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Bram Driesen (bramdriesen)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Alex Bronstein (effulgentsia)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jen Lampton (jenlampton)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Lee Rowlands (larowlan)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Dave Long (longwave)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Drew Webber (mcdruid)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Joseph Zhao (pandaski)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Adam G-H (phenaproxima)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Samuel Mortenson (samuel.mortenson)"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "Jess  (xjm)"
        }
      ],
      "datePublic": "2025-03-19T18:54:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "supportingMedia": [
            {
              "base64": false,
              "type": "text/html",
              "value": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in Drupal Drupal core allows Cross-Site Scripting (XSS).\u003cp\u003eThis 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.\u0026nbsp;It also affects the Drupal 7 module from versions 7.x-1.0 through 7.x-1.12.\u003c/p\u003e"
            }
          ],
          "value": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) 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.\u00a0It also affects the Drupal 7 module from versions 7.x-1.0 through 7.x-1.12."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-63",
          "descriptions": [
            {
              "lang": "en",
              "value": "CAPEC-63 Cross-Site Scripting (XSS)"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-79",
              "description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-04-02T22:35:46.920Z",
        "orgId": "2c85b837-eb8b-40ed-9d74-228c62987387",
        "shortName": "drupal"
      },
      "references": [
        {
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://www.drupal.org/sa-core-2025-004"
        },
        {
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://www.herodevs.com/vulnerability-directory/cve-2025-31675"
        },
        {
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004"
        }
      ],
      "source": {
        "discovery": "UNKNOWN"
      },
      "title": "Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004",
      "x_generator": {
        "engine": "Vulnogram 0.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "2c85b837-eb8b-40ed-9d74-228c62987387",
    "assignerShortName": "drupal",
    "cveId": "CVE-2025-31675",
    "datePublished": "2025-03-31T21:35:20.059Z",
    "dateReserved": "2025-03-31T21:30:04.614Z",
    "dateUpdated": "2026-04-02T22:35:46.920Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-31675",
      "date": "2026-09-22",
      "epss": "0.00487",
      "percentile": "0.41068"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://www.drupal.org/project/drupal",
                "defaultStatus": "unaffected",
                "product": "Drupal core",
                "repo": "https://git.drupalcode.org/project/drupal",
                "vendor": "Drupal",
                "versions": [
                  {
                    "lessThan": "10.3.14",
                    "status": "affected",
                    "version": "8.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "10.4.5",
                    "status": "affected",
                    "version": "10.4.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "11.0.13",
                    "status": "affected",
                    "version": "11.0.0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "11.1.5",
                    "status": "affected",
                    "version": "11.1.0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "collectionURL": "https://www.drupal.org/project/link",
                "defaultStatus": "unaffected",
                "product": "Link",
                "repo": "https://git.drupalcode.org/project/link",
                "vendor": "Drupal",
                "versions": [
                  {
                    "lessThanOrEqual": "7.x-1.12",
                    "status": "affected",
                    "version": "7.x-1.0",
                    "versionType": "custom"
                  }
                ]
              }
            ],
            "source": "mlhess@drupal.org"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "5203ABED-9A31-41A8-9A2E-51114DB3806C",
                    "versionEndExcluding": "10.3.14",
                    "versionStartIncluding": "8.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "3A7811E7-6793-4CE0-B866-B72B59415A5F",
                    "versionEndExcluding": "10.4.5",
                    "versionStartIncluding": "10.4.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "CDD587C1-9A62-4104-92B3-65B6E04BDC95",
                    "versionEndExcluding": "11.0.13",
                    "versionStartIncluding": "11.0.0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "13E1698C-D69F-4B55-B7B9-1E0F0A7888D6",
                    "versionEndExcluding": "11.1.5",
                    "versionStartIncluding": "11.1.0",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) 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.\u00a0It also affects the Drupal 7 module from versions 7.x-1.0 through 7.x-1.12."
          },
          {
            "lang": "es",
            "value": "Vulnerabilidad de neutralizaci\u00f3n incorrecta de entrada durante la generaci\u00f3n de p\u00e1ginas web (\u0027Cross-site Scripting\u0027) en Drupal Drupal core permite Cross-Site Scripting (XSS). Este problema afecta al n\u00facleo de Drupal: desde la versi\u00f3n 8.0.0 hasta la 10.3.14, desde la versi\u00f3n 10.4.0 hasta la 10.4.5, desde la versi\u00f3n 11.0.0 hasta la 11.0.13, desde la versi\u00f3n 11.1.0 hasta la 11.1.5."
          }
        ],
        "id": "CVE-2025-31675",
        "lastModified": "2026-06-17T09:10:44.933",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 5.4,
                "baseSeverity": "MEDIUM",
                "confidentialityImpact": "LOW",
                "integrityImpact": "LOW",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 2.3,
              "impactScore": 2.7,
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "type": "Secondary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2025-31675",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "no"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-04-01T18:21:31.894556Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2025-03-31T22:15:20.003",
        "references": [
          {
            "source": "mlhess@drupal.org",
            "url": "https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004"
          },
          {
            "source": "mlhess@drupal.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://www.drupal.org/sa-core-2025-004"
          },
          {
            "source": "mlhess@drupal.org",
            "url": "https://www.herodevs.com/vulnerability-directory/cve-2025-31675"
          }
        ],
        "sourceIdentifier": "mlhess@drupal.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-79"
              }
            ],
            "source": "mlhess@drupal.org",
            "type": "Secondary"
          },
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-79"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "current_release_date": "2026-06-28T06:27:00+00:00",
      "cve": "CVE-2025-31675",
      "id": "CVE-2025-31675",
      "initial_release_date": "2025-03-31T21:35:20.059000+00:00",
      "product_status:known_not_affected": "1",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "drupal: Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-31675.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "metrics": [
              {
                "cvssV3_1": {
                  "attackComplexity": "LOW",
                  "attackVector": "NETWORK",
                  "availabilityImpact": "NONE",
                  "baseScore": 5.4,
                  "baseSeverity": "MEDIUM",
                  "confidentialityImpact": "LOW",
                  "integrityImpact": "LOW",
                  "privilegesRequired": "LOW",
                  "scope": "CHANGED",
                  "userInteraction": "REQUIRED",
                  "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
                  "version": "3.1"
                }
              },
              {
                "other": {
                  "content": {
                    "id": "CVE-2025-31675",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "no"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-04-01T18:21:31.894556Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-04-29T15:45:06.701Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://www.drupal.org/project/drupal",
              "defaultStatus": "unaffected",
              "product": "Drupal core",
              "repo": "https://git.drupalcode.org/project/drupal",
              "vendor": "Drupal",
              "versions": [
                {
                  "lessThan": "10.3.14",
                  "status": "affected",
                  "version": "8.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "10.4.5",
                  "status": "affected",
                  "version": "10.4.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "11.0.13",
                  "status": "affected",
                  "version": "11.0.0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "11.1.5",
                  "status": "affected",
                  "version": "11.1.0",
                  "versionType": "semver"
                }
              ]
            },
            {
              "collectionURL": "https://www.drupal.org/project/link",
              "defaultStatus": "unaffected",
              "product": "Link",
              "repo": "https://git.drupalcode.org/project/link",
              "vendor": "Drupal",
              "versions": [
                {
                  "lessThanOrEqual": "7.x-1.12",
                  "status": "affected",
                  "version": "7.x-1.0",
                  "versionType": "custom"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "type": "finder",
              "value": "Samuel Mortenson (samuel.mortenson)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Benji Fisher (benjifisher)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Bram Driesen (bramdriesen)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Alex Bronstein (effulgentsia)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Jen Lampton (jenlampton)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Lee Rowlands (larowlan)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Dave Long (longwave)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Drew Webber (mcdruid)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Joseph Zhao (pandaski)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Adam G-H (phenaproxima)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Samuel Mortenson (samuel.mortenson)"
            },
            {
              "lang": "en",
              "type": "remediation developer",
              "value": "Jess  (xjm)"
            }
          ],
          "datePublic": "2025-03-19T18:54:00.000Z",
          "descriptions": [
            {
              "lang": "en",
              "supportingMedia": [
                {
                  "base64": false,
                  "type": "text/html",
                  "value": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) vulnerability in Drupal Drupal core allows Cross-Site Scripting (XSS).\u003cp\u003eThis 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.\u0026nbsp;It also affects the Drupal 7 module from versions 7.x-1.0 through 7.x-1.12.\u003c/p\u003e"
                }
              ],
              "value": "Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027) 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.\u00a0It also affects the Drupal 7 module from versions 7.x-1.0 through 7.x-1.12."
            }
          ],
          "impacts": [
            {
              "capecId": "CAPEC-63",
              "descriptions": [
                {
                  "lang": "en",
                  "value": "CAPEC-63 Cross-Site Scripting (XSS)"
                }
              ]
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "cweId": "CWE-79",
                  "description": "CWE-79 Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
                  "lang": "en",
                  "type": "CWE"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2026-04-02T22:35:46.920Z",
            "orgId": "2c85b837-eb8b-40ed-9d74-228c62987387",
            "shortName": "drupal"
          },
          "references": [
            {
              "tags": [
                "vendor-advisory"
              ],
              "url": "https://www.drupal.org/sa-core-2025-004"
            },
            {
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://www.herodevs.com/vulnerability-directory/cve-2025-31675"
            },
            {
              "tags": [
                "third-party-advisory"
              ],
              "url": "https://d7es.tag1.com/security-advisories/link-moderately-critical-cross-site-scripting-sa-core-2025-004"
            }
          ],
          "source": {
            "discovery": "UNKNOWN"
          },
          "title": "Drupal core - Moderately critical - Cross Site Scripting - SA-CORE-2025-004",
          "x_generator": {
            "engine": "Vulnogram 0.2.0"
          }
        }
      },
      "cveMetadata": {
        "assignerOrgId": "2c85b837-eb8b-40ed-9d74-228c62987387",
        "assignerShortName": "drupal",
        "cveId": "CVE-2025-31675",
        "datePublished": "2025-03-31T21:35:20.059Z",
        "dateReserved": "2025-03-31T21:30:04.614Z",
        "dateUpdated": "2026-04-02T22:35:46.920Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…