CVE-2021-3312 XML External Entity Reference in org.opencms:opencms-core
Authenticated users with edit privileges can exfiltrate server files via crafted SVG documents in OpenCms.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-3312?
CVE-2021-3312 is a medium-severity vulnerability in n/a, published on 8 Oct 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
An XML external entity (XXE) vulnerability in Alkacon OpenCms 11.0, 11.0.1 and 11.0.2 allows remote authenticated users with edit privileges to exfiltrate files from the server's file system by uploading a crafted SVG document.
Weakness: CWE-611
Which versions are affected by CVE-2021-3312?
2 open source packages ship an affected version, including org.opencms:opencms-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.opencms:opencms-core Maven | From 11.0.0 | 12.0.0 |
org.opencms:opencms-core Maven | From 11.0.0 | 12.0.0 |
Products include Alkacon Opencms.
How do I fix CVE-2021-3312?
Upgrade org.opencms:opencms-core to 12.0.0 or later.
Is CVE-2021-3312 being exploited?
There is no known exploitation of CVE-2021-3312 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2018-8811 Cross-site request forgery in n/a
- CVE-2019-11819 Alkacon OpenCMS CSV Injection via New User module
- CVE-2005-4475 Cross-site scripting in n/a
- CVE-2024-42699 OpenCMS Cross-Site Scripting vulnerability
- CVE-2006-3935 Alkacon OpenCMS Improper Access Control via system/workplace/views/admin/admin-main.jsp
Sources
Also known as GHSA-g6v7-vqhx-6v6c.