VDB
GHSA-6rpq-6vv2-5222
GHSA-6rpq-6vv2-5222
PUBLISHED
CVSS 5.900000095367432 MEDIUM
Record from GitHub Advisory Database · Published June 10, 2026
Spring REST Docs REST Assured & WebFlux are vulnerable to Improper Restriction of XML External Entity Reference
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| org.springframework.restdocs:spring-restdocs-webtestclient | Maven Central | 4.0.1, 3.0.6, 2.0.8.RELEASE, 2.0.8 |
| org.springframework.restdocs:spring-restdocs-restassured | Maven Central | 4.0.1, 3.0.6, 2.0.8.RELEASE, 2.0.8 |
Risk scores
CVSS 3.1
5.900000095367432
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:L
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Maven | org.springframework.restdocs:spring-restdocs-webtestclient | 0, 4.0.0, 4.0.0 |
| Maven | org.springframework.restdocs:spring-restdocs-restassured | 4.0.0, 4.0.0, 3.0.0 |
Timeline
- Jun 10, 2026 CVE Published
- Sep 2, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-6rpq-6vv2-5222
vulnetix vdb fixes GHSA-6rpq-6vv2-5222
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-6rpq-6vv2-5222/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-40991 advisory
- https://github.com/spring-projects/spring-restdocs package
- https://github.com/spring-projects/spring-restdocs/releases/tag/v3.0.6 url
- https://github.com/spring-projects/spring-restdocs/releases/tag/v4.0.1 url
- https://spring.io/security/cve-2026-40991 url