# CVE-2022-26352: dotCMS Unrestricted Upload of File Vulnerability

> CVE-2022-26352: dotCMS Unrestricted Upload of File Vulnerability. CVSS 9.8 (CVSS 3.1), in CISA KEV.

Canonical: https://rewindex.com/cve/CVE-2022-26352
Last updated: 2025-10-21T23:15:38Z

- Published: 2022-07-17 21:54 UTC · Updated: 2025-10-21 23:15 UTC · Assigner: mitre
- CVSS: 9.8 (CVSS 3.1) · Severity: Critical · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 91.2%, 100th percentile (scored 2026-10-25)
- CISA KEV: yes, added 2022-08-25, federal due date 2022-09-15, ransomware use: Known

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

## CISA required action

Apply updates per vendor instructions.

## Affected vendors and products

- dotCMS: dotCMS

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2022-26352)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2022-26352)
- [http://packetstormsecurity.com/files/167365/dotCMS-Shell-Upload.html](http://packetstormsecurity.com/files/167365/dotCMS-Shell-Upload.html)
- [https://groups.google.com/g/dotcms](https://groups.google.com/g/dotcms)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2022-26352 · Markdown: https://rewindex.com/cve/CVE-2022-26352.md · JSON: https://rewindex.com/api/v1/cves/CVE-2022-26352 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:13:25.947Z
