CVE-2022-26352
dotCMS Unrestricted Upload of File Vulnerability
Published Jul 17, 2022 · updated Jun 16, 2026 · dotcms dotcms
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.
Timeline
Detection, updates, and resolution for this record.
Jul 17, 2022 · Catalog
Detected
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, suc
Aug 25, 2022 · CISA KEV
Known exploited
Apply updates per vendor instructions.
Sep 15, 2022 · CISA KEV
Remediation due
Apply updates per vendor instructions.
Jun 16, 2026 · Catalog
Updated
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, suc
Required action
Apply updates per vendor instructions.
CISA due date Sep 15, 2022
Affected
- cpe dotcms/dotcmsversion unspecified
- vendor dotCMS dotCMSversion unspecified
Sources
- CISA KEVCVE-2022-26352
dotCMS ContentResource API contains an unrestricted upload of file with a dangerous type vulnerability that allows for directory traversal, in which the file is saved outside of the intended storage location. Exploitation allows for remote code execution.
cisa.gov - CVE.orgCVE-2022-26352
Official CVE identifier
cve.org - FIRST EPSSCVE-2022-26352
30-day exploitation probability 91.2%
first.org - Metasploit Modulesexploit_multi/http/dotcms_file_upload_rce
Public module reference (excellent). Module source is not copied into this catalog.
rapid7.com - NIST NVDCVE-2022-26352
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 locat
nvd.nist.gov