Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-26352
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:55 UTC · Revision 1
Source evidence
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.
osv:CVE-2022-26352
Complete source record
{
"id": "99054e3c259b8ba9e15ee594ad247821e4d1302aefb51746dc4a69f624eee799",
"url": "https://osv.dev/vulnerability/CVE-2022-26352",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-26352",
"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.",
"evidence": "osv:CVE-2022-26352",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2022-26352",
"aliases": [
"CVE-2022-26352"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/dotcms/core",
"type": "GIT",
"events": [
{
"introduced": "0ffe317e7b0b39e3da61abf2b2f19313f2a59c0c"
},
{
"last_affected": "a7dc7c4140d33d98ccc65120f9d659d07ad42ce0"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:dotcms:dotcms:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.0"
},
{
"last_affected": "22.02"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v22.02",
"3.6.0",
"3.5",
"3.5_Preview02",
"3.5_Preview01",
"pre3.5buildrevert",
"3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-26352.json"
}
}
],
"modified": "2026-10-28T02:30:41.583020867Z",
"provider": "osv",
"references": [
"https://groups.google.com/g/dotcms",
"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-26352",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26352.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-26352"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/26xxx/CVE-2022-26352.json"
}
},
"related_cves": [
{
"value": "CVE-2022-26352",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 509249,
"published_at": "2022-07-17T21:54:53+00:00"
}