# CVE-2021-3312: XML External Entity Reference in org.opencms:opencms-core

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.29%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-10-08T14:44:58.000Z
- Modified: 2026-06-17T04:04:55.343Z
- Also known as: GHSA-g6v7-vqhx-6v6c
- Weaknesses: CWE-611
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.opencms:opencms-core (Maven): from 11.0.0 before 12.0.0
- alkacon opencms: 11.0; 11.0.1; 11.0.2

## Every score

- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://github.com/alkacon/opencms-core/issues/725> (exploit, issue-tracking, third-party-advisory, web)
- <https://github.com/alkacon/opencms-core/releases> (release-notes, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3312> (advisory)
- <https://github.com/alkacon/opencms-core/issues/721> (web)
- <https://github.com/alkacon/opencms-core/commit/92e035423aa6967822d343e54392d4291648c0ee> (web)
- <https://github.com/alkacon/opencms-core> (package)

## Sources

- CVE List: [CVE-2021-3312](https://www.cve.org/CVERecord?id=CVE-2021-3312), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-g6v7-vqhx-6v6c](https://github.com/advisories/GHSA-g6v7-vqhx-6v6c), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-3312](https://nvd.nist.gov/vuln/detail/CVE-2021-3312), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3312 · Whole record: https://cve.day/CVE-2021-3312.json · Rebuilt by cve.day 2026-11-25T22:58:04.383Z
