spring-restdocs-restassured is vulnerable to XML External Entity (XXE) Injection
60
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
spring-restdocs-restassured is vulnerable to XML External Entity (XXE) Injection in versions 0.0.1 - 2.0.8.RELEASE, 3.0.0 - 3.0.5 and 4.0.0 - 4.0.0.
Upgrade the org.springframework.restdocs:spring-restdocs-restassured library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant