CVE-2012-3353: Apache Sling JCR ContentLoader XmlReader Arbitrary File Load
Summary
CVE-2012-3353: Apache Sling JCR ContentLoader XmlReader Arbitrary File Load. Affects org.apache.sling:org.apache.sling.jcr.contentloader versions < 2.1.6. Fixed in 2.1.6. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Apache Sling JCR ContentLoader is a module that allows importing content into the Apache Sling content repository. It includes the XmlReader component, which is responsible for parsing XML files and loading their content. This vulnerability affects version 2.1.4 of the JCR ContentLoader. The vulnerability allows an attacker to import arbitrary files into the content repository, including local files, potentially leading to information leaks.
Vulnerability Detail
The Apache Sling JCR ContentLoader 2.1.4 XmlReader component does not properly validate the imported XML files, allowing an attacker to include arbitrary files in the content repository. This can lead to information leaks if sensitive data is stored in the repository. The vulnerability has a CVSS score of 7.5, indicating a high severity level.
How To Fix
Latest published version: 3.0.0 as of 22 Oct 2026
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
2.1.6
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.
Conclusion
The Apache Sling JCR ContentLoader 2.1.4 XmlReader vulnerability allows an attacker to import arbitrary files into the content repository, potentially leading to information leaks. Users should upgrade to version 2.1.6 of the JCR ContentLoader to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.apache.sling:org.apache.sling.jcr.contentloader →
FAQ
This vulnerability allows an attacker to import arbitrary files into the content repository, potentially leading to information leaks.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your pom.xml file and Vulert will analyze it for open-source vulnerabilities in real-time.
The CVSS score of this vulnerability is 7.5, indicating a high severity level.
No, there is no known workaround for this vulnerability. Upgrading to the fixed version is the recommended solution.
You can find more information about this vulnerability in the GitHub Advisory Database at https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-wjp3-4xcq-598p/GHSA-wjp3-4xcq-598p.json