PT-2026-48306

CVE-2026-40991

·

Published

2026-06-09

·

Updated

2026-07-01

Description by

CVSS 3.1
5.9
Medium
MetricsAV: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.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
GHSA-6RPQ-6VV2-5222
Found an issue in the description? Have something to add? Feel free to write us 👾