CVE-2022-26352
dotCMS Unrestricted Upload of File Vulnerability
- Published
- Jul 17, 2022
- Updated
- Oct 21, 2025
- Assigning CNA
- mitre
- Evidence observed
- Aug 25, 2022
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HHigh · next 30 days
- Percentile
- 99.8%
- Model date
- Oct 15, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
CISA Known Exploited
This CVE appears in the CISA Known Exploited Vulnerabilities catalog.
Summary
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.
Sources
modules/exploits/multi/http/dotcms_file_upload_rce.rb
Metasploit Framework modulesDeclared conditions
- platform: Linux,Windows($.exploit_multi/http/dotcms_file_upload_rce.platform)
- verification: check_declared($.exploit_multi/http/dotcms_file_upload_rce.check)
- DotCMS - Arbitrary File UploadTemplate
http/cves/2022/CVE-2022-26352.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: dsl($.matchers[*].type)
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.