ADVISORIES

GitHub Advisory Database

GHSA-f93f-g33r-8pcp

Improper Restriction of XML External Entity Reference in Spring Framework

Details

When processing user provided XML documents, the Spring Framework 4.0.0 to 4.0.4, 3.0.0 to 3.2.8, and possibly earlier unsupported versions did not disable by default the resolution of URI references in a DTD declaration. This enabled an XXE attack.

Affected packages

EcosystemPackageAffected versions
Mavenorg.springframework:spring-webmvc
From 4.0.0 before 4.0.5 (fixed in 4.0.5)
Mavenorg.springframework:spring-webmvc
From 3.0.0 before 3.2.8 (fixed in 3.2.8)

References