MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-40991GHSA-6rpq-6vv2-5222

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

Not on CISA KEVCVSS 5.9 (v3.1)
  • Overview

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.

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)