CVE-2026-40991 XML External Entity (XXE) injection when documenting untrusted XML content
설명
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.
영향 받는 제품 제품 1개
-
해결 버전 있음
Spring
Spring REST Docs
영향 받는 버전
- 4.0.0 이상 4.0.0.1 미만
- 3.0.0 이상 3.0.5.1 미만
- 2.0.0.RELEASE 이상 2.0.9.RELEASE 미만
해결 버전
- 4.0.0.1 이상
- 3.0.5.1 이상
- 2.0.9.RELEASE 이상