Medium

Cross-Site Request Forgery in Spring Framework

  • Disclosed: 13.05.2022
  • Updated: 11.10.2026 12:21

The Spring OXM wrapper in Spring Framework before 3.2.4 and 4.0.0.M1, when using the JAXB marshaller, does not disable entity resolution, which allows context-dependent attackers to read arbitrary files, cause a denial of service, and conduct CSRF attacks via an XML external entity declaration in conjunction with an entity reference in a (1) DOMSource, (2) StAXSource, (3) SAXSource, or (4) StreamSource, aka an XML External Entity (XXE) issue.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.springframework:spring-oxm < 3.2.4.RELEASE 3.2.4.RELEASE

References

CVSS score -
Weakness (CWE)
CWE-352
Platform
Java / Kotlin (Maven)
Package
org.springframework:spring-oxm
Disclosed
13.05.2022
Updated
11.10.2026 12:21

Sources and licenses

OSV / GitHub Advisory Database - GHSA-rp4p-g69r-438x - CC BY 4.0

Vulnerability history: org.springframework:spring-oxm

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
05.2022 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 2

Disclosures per year

  1. 2022: 2
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Cross-Site Request Forgery in Spring Framework this entry
    Medium CVE-2013-4152 < 3.2.4.RELEASE 3.2.4.RELEASE
  2. Medium CVE-2013-7315 < 3.2.4.RELEASE 3.2.4.RELEASE

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.