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 namedotCMS Unrestricted Upload of File Vulnerability
Vendor / productdotCMS / dotCMS
Date added2022-08-25
Federal remediation due date2022-09-15
Required actionApply updates per vendor instructions.
Known ransomware campaign useKnown

CISA SSVC decision points

Exploitationactive
Automatableyes
Technical impacttotal
Scored2023-12-22

Timeline

  1. 2022-07-17Published by the CNA21:54 UTC
  2. 2022-08-25Added to the CISA KEV catalog39 days after publication
  3. 2023-12-22CISA SSVC decision recorded523 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Nuclei templates:

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
dotcms dotcmsfrom 3.0 through 22.02no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources