CVE-2022-26352
Description
An issue was discovered in the ContentResource API in dotCMS 3.0 through 22.02. Attackers can craft a multipart form request to post a file whose filename is not initially sanitized. This allows directory traversal, in which the file is saved outside of the intended storage location. If anonymous content creation is enabled, this allows an unauthenticated attacker to upload an executable file, such as a .jsp file, that can lead to remote code execution.
Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source nvd
Exploit chance (EPSS)
91.248%
chance of exploitation in the next 30 days
higher than 99.8% of scored CVEs · 2026-11-17
CISA KEV
Listed
added 2022-08-25 · known ransomware use
Public exploit code
Yes
Exploit references (NVD and CNA): 1
Metasploit modules: 1
Nuclei templates: 1
CISA Known Exploited Vulnerabilities entry
| Vulnerability name | dotCMS Unrestricted Upload of File Vulnerability |
|---|---|
| Vendor / product | dotCMS / dotCMS |
| Date added | 2022-08-25 |
| Federal remediation due date | 2022-09-15 |
| Required action | Apply updates per vendor instructions. |
| Known ransomware campaign use | Known |
CISA SSVC decision points
| Exploitation | active |
|---|---|
| Automatable | yes |
| Technical impact | total |
| Scored | 2023-12-22 |
Timeline
- 2022-07-17Published by the CNA21:54 UTC
- 2022-08-25Added to the CISA KEV catalog39 days after publication
- 2023-12-22CISA SSVC decision recorded523 days after publication
Exploit and advisory records
Nuclei templates:
- CVE-2022-26352: DotCMS - Arbitrary File Upload
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| dotcms dotcms | from 3.0 through 22.02no fix listed | not listed |
References
- http://packetstormsecurity.com/files/167365/dotCMS-Shell-Upload.html
- https://groups.google.com/g/dotcms
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-26352
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2022-26352'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2022-26352'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2022-26352'curl 'https://api.contrastcyber.com/cve_products/CVE-2022-26352'curl 'https://api.contrastcyber.com/kev_lookup/CVE-2022-26352'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).