Improper Restriction of XML External Entity Reference in Castor
The default configuration for the Xerces SAX Parser in Castor before 1.3.3 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted XML document.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | castor:castor | <= 1.0 | no fix |
| Java / Kotlin (Maven) | org.codehaus.castor:castor | < 1.3.3 | 1.3.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2014-3004
- https://github.com/castor-data-binding/castor
- https://quickview.cloudapps.cisco.com/quickview/bug/CSCvm56811
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- http://lists.opensuse.org/opensuse-updates/2014-06/msg00043.html
- http://packetstormsecurity.com/files/126854/Castor-Library-XXE-Disclosure.html
- http://seclists.org/fulldisclosure/2014/May/142
- Weakness (CWE)
CWE-611- Platform
- Java / Kotlin (Maven)
- Package
castor:castor, org.codehaus.castor:castor- Disclosed
- 13.05.2022
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-jwwr-fjgh-cv2x - CC BY 4.0
Vulnerability history: castor:castor
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.
This is the only known vulnerability of this package.
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.