XML external entity injection in Broadcom Spring Rest Docs
CVSS score
5.9
EPSS probability
%0.3
Risk score
0.0
Published
4 mo ago
Etkilenen ürün ve sürüm için yayımlanan güvenlik güncellemesini uygulayın.
Impact on My Inventory
Only the personal products you have added to your account are assessed; an organisation's inventory does not appear here.
Checking session…
Vulnerability description
DayBreach CVE AI Research
CVE-2026-40991 has vendor, distribution, patch and security-source records on file. We can compare them and prepare an explanation linked to the evidence.
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.
IMPACT: Affected Products and Software
Affected Products
The following products are affected by CVE-2026-40991 vulnerability. Where our threat engine knows the exact affected versions, they are listed below.
| ID | VENDOR | PRODUCT | ACTION |
|---|---|---|---|
| 1 | broadcom | spring rest docs | View |
| 2 | broadcom | spring rest docs | View |
| 3 | broadcom | spring rest docs | View |
| 4 | maven | org.springframework.restdocs:spring-restdocs-webtestclient | View |
| 5 | maven | org.springframework.restdocs:spring-restdocs-webtestclient | View |
| 6 | maven | org.springframework.restdocs:spring-restdocs-webtestclient | View |
| 7 | maven | org.springframework.restdocs:spring-restdocs-restassured | View |
| 8 | maven | org.springframework.restdocs:spring-restdocs-restassured | View |
| 9 | maven | org.springframework.restdocs:spring-restdocs-restassured | View |
| 10 | maven | org.springframework.restdocs:spring-restdocs-webtestclient | View |
| 11 | maven | org.springframework.restdocs:spring-restdocs-webtestclient | View |
| 12 | maven | org.springframework.restdocs:spring-restdocs-webtestclient | View |
| 13 | maven | org.springframework.restdocs:spring-restdocs-restassured | View |
| 14 | maven | org.springframework.restdocs:spring-restdocs-restassured | View |
| 15 | maven | org.springframework.restdocs:spring-restdocs-restassured | View |
RED HAT CSAF/VEX: Product Impact Check
SCORING: CVSS from Multiple Sources
CVSS Scores
The Common Vulnerability Scoring System is a standardised framework for assessing the severity of vulnerabilities in software and systems. We collect and display CVSS scores from several sources for each CVE.
| SCORE | VERSION | SEVERITY | VECTOR | SOURCE |
|---|---|---|---|---|
| 5.9 | CVSS V31 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:L | NVD |
| 5.9 | CVSS 3.x | — | Vector not published | GitHub Advisory |
| 0.0 | CVSS 4.0 | — | Vector not published | GitHub Advisory |
Patch and Remediation Guide
Solution & Remediation Advisory
4 doğrulanmış yama veya düzeltilmiş sürüm kanıtı bulundu.
4.0.1OSV düzeltilmiş sürüm: 4.0.1
3.0.6OSV düzeltilmiş sürüm: 3.0.6
4.0.1OSV düzeltilmiş sürüm: 4.0.1
3.0.6OSV düzeltilmiş sürüm: 3.0.6
Public exploit and active exploitation status
Verified exploit intelligence
No verified public PoC, exploit repository or Metasploit module has been found for this CVE yet.
Weakness Classification and Attack Patterns (CWE & CAPEC)
CWE - Common Weakness Enumeration
While CVE identifies specific instances of vulnerabilities, CWE categorises the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-40991 is associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-40991 weaknesses.
Attack Vector and Accessibility
Official Sources and Advisories
Similar Vulnerabilities
Get this vulnerability through the API
Affected products, version ranges, exploitation status and patch information in a single request, with a free key.
curl -H "x-api-key: $DAYBREACH_API_KEY" \ "https://api.daybreach.dev/api/v1/intel/cves/CVE-2026-40991"