PT-2026-48306 · Vmware · Spring Rest Docs

CVE-2026-40991

·

Published

2026-06-09

·

Updated

2026-07-01

CVSS v3.1

5.9

Medium

VectorAV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:L
Name of the Vulnerable Software and Affected Versions Spring REST Docs version 4.0.0 Spring REST Docs versions 3.0.0 through 3.0.5 Spring REST Docs versions 2.0.0.RELEASE through 2.0.8.RELEASE
Description An XXE (XML External Entity) injection attack can occur 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 a user into documenting a malicious API can trigger this attack during the execution of documentation-generating tests.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

XXE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-40991
GHSA-6RPQ-6VV2-5222

Affected Products

Spring Rest Docs