You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
Title: Spring REST Docs de Spring, Description: Al usar spring-restdocs-webtestclient o spring-restdocs-restassured para documentar una API remota accedida a través de HTTP, un atacante que compromete la API o engaña al usuario para que documente una API maliciosa puede realizar un ataque de inyección XXE cuando las pruebas de generación de documentación se ejecuten a continuación.
Versiones afectadas:
Spring REST Docs 4.0.0; 3.0.0 a 3.0.5; 2.0.0.RELEASE a 2.0.8.RELEASE.
Initial Analysis by NIST7/17/2026 4:29:31 PM
Action
Type
Old Value
New Value
Added
CPE Configuration
OR
*cpe:2.3:a:broadcom:spring_rest_docs:*:*:*:*:*:*:*:* versions from (including) 2.0.0 up to (excluding) 2.0.9
*cpe:2.3:a:broadcom:spring_rest_docs:*:*:*:*:*:*:*:* versions from (including) 3.0.0 up to (excluding) 3.0.5.1
*cpe:2.3:a:broadcom:spring_rest_docs:4.0.0:-:*:*:*:*:*:*
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.
Added
CVSS V3.1
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:L
Added
CWE
CWE-611
Added
Reference
https://spring.io/security/cve-2026-40991
Quick Info
CVE Dictionary Entry: CVE-2026-40991 NVD
Published Date: 06/09/2026 NVD
Last Modified: 07/23/2026
Source: VMware