CVE-2022-26352dotCMS
Unrestricted File Upload in dotCMS ContentResource API
Critical 9.8 KEVRansomware No auth neededHigh EPSS
Follow: this CVE · dotCMS · dotCMS We alert you by email or Slack (account required).
- Priority
- 97
- CVSS 3.1
- 9.8
- EPSS
- 85.5% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- In KEV since
- Aug 25, 2022
- CISA deadline
- Sep 15, 2022
- Ransomware use
- Confirmed
- Published
- Jul 17, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: active · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
The ContentResource API in dotCMS 3.0 through 22.02 fails to properly sanitize filenames in multipart requests, allowing directory traversal. An unauthenticated attacker can upload executable files (such as .jsp) outside the intended storage location, leading to remote code execution if anonymous content creation is enabled. CISA has confirmed this vulnerability as actively exploited.
Show the original NVD text
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.
Exploitation confirmed by CISA
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.
Action required by CISA: Apply updates per vendor instructions.
What to do
Patch available
Update dotCMS to version 22.03 or later according to vendor instructions.
- Apply the vendor's security update for dotCMS.
- CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was September 15, 2022.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
- Check logs for signs of earlier exploitation.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dotcms | dotcms | ≥ 3.0 ≤ 22.02 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory VDB Entry
- groups.google.com Permissions Required Third Party Advisory
- www.cisa.gov US Government Resource