XML External Entity (XXE) injection when documenting untrusted XML content (Spring Spring REST Docs)

CVE-2026-40991
MEDIUM 5.9

En bref

Source
NVD
EPSS
EPSS 0.22 % · centile 13 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
vmware
Statut NVD
Analyzed

Description

When using spring-restdocs-webtestclient or spring-restdocs-restassured to document a remote API accessed over HTTP, an attacker who compromises the API or tricks the user into documenting a malicious API can perform an XXE injection attack when the documentation-generating tests are next executed. Affected versions: Spring REST Docs 4.0.0; 3.0.0 through 3.0.5; 2.0.0.RELEASE through 2.0.8.RELEASE.

Faiblesses (CWE)

  • CWE-611 — Entité externe XML (XXE)

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:Lvmware
CVSS 3.1MEDIUM 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:LNVD · security@vmware.com (Secondary)

Avis

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Spring · Spring REST Docsaffected 4.0.0 < 4.0.0.1 ; affected 3.0.0 < 3.0.5.1 ; affected 2.0.0.RELEASE < 2.0.9.RELEASE

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD