GHSA-g6v7-vqhx-6v6c CVE-2021-3312
XML External Entity Reference in org.opencms:opencms-core
- Severity
- 6.5 / 10
- Medium · CVSS 3.1
- Exploit chance (EPSS)
- 1.29%
- Chance of exploitation in the next 30 days. Higher than 70.24% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-611 Improper Restriction of XML External Entity Reference
- Fix
12.0.0- Upgrade org.opencms:opencms-core to this version or later
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.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.opencms:opencms-core | >= 11.0.0, < 12.0.0 |
12.0.0 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
org.opencms:opencms-core Maven → 12.0.0
- maven
<dependency><groupId>org.opencms</groupId><artifactId>opencms-core</artifactId><version>12.0.0</version></dependency>- gradle
implementation("org.opencms:opencms-core:12.0.0")
Severity breakdown
CVSS 3.1 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Weakness
CWE-611: Improper Restriction of XML External Entity Reference
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
How to prevent it
- Implementation, System Configuration: Many XML parsers and validators can be configured to disable external entity expansion.
References
Advisories
Packages
Other links
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-pj6p-9p8x-5mfc Alkacon OpenCms is vulnerable to XXE when the <!DOCTYPE> refers to an external host | High | Also affects org.opencms:opencms-core |
| GHSA-2887-f3v6-6rjf Alkacon OpenCms is vulnerable to XSS via updateModelGroups.jsp | Medium | Also affects org.opencms:opencms-core |
| GHSA-rcc6-6q2f-m2cw Alkacon OpenCms allows remote unauthenticated attackers to obtain sensitive information | High | Also affects org.opencms:opencms-core |
| GHSA-8gpv-c454-3hfc Alkacon OpenCms is vulnerable to XSS via cmis-online/type | Medium | Also affects org.opencms:opencms-core |
| GHSA-h75c-f2xx-9vxv OpenCMS Cross-Site Scripting vulnerability | Medium | Also affects org.opencms:opencms-core |
| GHSA-7m3w-m5g3-cc88 OpenCMS cross-site scripting (XSS) vulnerability | Medium | Also affects org.opencms:opencms-core |
| GHSA-vq95-6x79-qv8j Alkacon OpenCMS stored cross-site scripting (XSS) vulnerability | Medium | Also affects org.opencms:opencms-core |
| GHSA-vg6x-pchq-98mg OpenCMS Cross-Site Scripting vulnerability | Medium | Also affects org.opencms:opencms-core |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor