Read the docs
TI-2026-29642 Aliases CVE-2026-40991GHSA-6rpq-6vv2-5222

XML External Entity (XXE) injection when documenting untrusted XML content

Priority LOW 26CWE-611Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
—
Confidentiality · integrity · availability
High · None · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00223 12th percentileScored 2026-11-07
Fix Fixed Spring REST Docs (Spring): 4.0.0.1, 3.0.5.1, 2.0.9.RELEASEorg.springframework.restdocs:spring-restdocs-webtestclient (Maven): 4.0.1, 3.0.6+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
VMwareSpring REST Docs4.0.0 to before 4.0.0.1; 3.0.0 to before 3.0.5.1; 2.0.0.RELEASE to before 2.0.9.RELEASE4.0.0.1, 3.0.5.1, 2.0.9.RELEASEPatch availableCNA
—org.springframework.restdocs:spring-restdocs-webtestclient (Maven)4.0.0 to before 4.0.14.0.1Patch availableGHSA-6rpq-6vv2-5222
—org.springframework.restdocs:spring-restdocs-webtestclient (Maven)3.0.0 to before 3.0.63.0.6Patch availableGHSA-6rpq-6vv2-5222
—org.springframework.restdocs:spring-restdocs-webtestclient (Maven)up to 2.0.8.RELEASE—No fix listedGHSA-6rpq-6vv2-5222
—org.springframework.restdocs:spring-restdocs-restassured (Maven)4.0.0 to before 4.0.14.0.1Patch availableGHSA-6rpq-6vv2-5222
—org.springframework.restdocs:spring-restdocs-restassured (Maven)3.0.0 to before 3.0.63.0.6Patch availableGHSA-6rpq-6vv2-5222
—org.springframework.restdocs:spring-restdocs-restassured (Maven)up to 2.0.8.RELEASE—No fix listedGHSA-6rpq-6vv2-5222
  • Spring REST Docs VendorVMware Affected 4.0.0 to before 4.0.0.1; 3.0.0 to before 3.0.5.1; 2.0.0.RELEASE to before 2.0.9.RELEASE Fixed in 4.0.0.1, 3.0.5.1, 2.0.9.RELEASE Patch available CNA
  • org.springframework.restdocs:spring-restdocs-webtestclient (Maven) Vendor— Affected 4.0.0 to before 4.0.1 Fixed in 4.0.1 Patch available GHSA-6rpq-6vv2-5222
  • org.springframework.restdocs:spring-restdocs-webtestclient (Maven) Vendor— Affected 3.0.0 to before 3.0.6 Fixed in 3.0.6 Patch available GHSA-6rpq-6vv2-5222
  • org.springframework.restdocs:spring-restdocs-webtestclient (Maven) Vendor— Affected up to 2.0.8.RELEASE Fixed in — No fix listed GHSA-6rpq-6vv2-5222
  • org.springframework.restdocs:spring-restdocs-restassured (Maven) Vendor— Affected 4.0.0 to before 4.0.1 Fixed in 4.0.1 Patch available GHSA-6rpq-6vv2-5222
  • org.springframework.restdocs:spring-restdocs-restassured (Maven) Vendor— Affected 3.0.0 to before 3.0.6 Fixed in 3.0.6 Patch available GHSA-6rpq-6vv2-5222
  • org.springframework.restdocs:spring-restdocs-restassured (Maven) Vendor— Affected up to 2.0.8.RELEASE Fixed in — No fix listed GHSA-6rpq-6vv2-5222

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:broadcom:spring_rest_docs:*:*:*:*:*:*:*:*2.0.0 to before 2.0.9; 3.0.0 to before 3.0.5.1VulnerableBroadcom
cpe:2.3:a:broadcom:spring_rest_docs:4.0.0:-:*:*:*:*:*:*4.0.0VulnerableBroadcom
  • cpe:2.3:a:broadcom:spring_rest_docs:*:*:*:*:*:*:*:* Versions 2.0.0 to before 2.0.9; 3.0.0 to before 3.0.5.1 Vulnerable ·Broadcom
  • cpe:2.3:a:broadcom:spring_rest_docs:4.0.0:-:*:*:*:*:*:* Versions 4.0.0 Vulnerable ·Broadcom

Remediation

  • Fix · CNA Spring REST Docs (Spring) Fixed in 4.0.0.1, 3.0.5.1, 2.0.9.RELEASE
  • Fix · GHSA-6rpq-6vv2-5222 org.springframework.restdocs:spring-restdocs-webtestclient (Maven) Fixed in 4.0.1 Advisory →
  • Fix · GHSA-6rpq-6vv2-5222 org.springframework.restdocs:spring-restdocs-webtestclient (Maven) Fixed in 3.0.6 Advisory →
  • Fix · GHSA-6rpq-6vv2-5222 org.springframework.restdocs:spring-restdocs-restassured (Maven) Fixed in 4.0.1 Advisory →
  • Fix · GHSA-6rpq-6vv2-5222 org.springframework.restdocs:spring-restdocs-restassured (Maven) Fixed in 3.0.6 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40991
  2. 2026-10-03 Alias added: GHSA-6rpq-6vv2-5222

References

  • TI-2026-42442 vCenter directory-traversal vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26040 Privilege escalation in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-26039 Heap-overflow in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
  • TI-2024-24610 Out-of-bounds write in VMware vCenter Server KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-16914 VMware vCenter Server Out-of-Bounds Write Vulnerability KEVCVSS 3.1CRITICAL 9.8
  • TI-2023-07303 Command injection in Aria Operations for Networks KEVCVSS 3.1CRITICAL 9.8
See all 1181 →

Sources