Home / Dotcms / Dotcms / CVE-2022-35740
CVE-2022-35740: is it exploited, and which versions of Dotcms are affected and fixed?
CVE-2022-35740 is a cross-site scripting (XSS) vulnerability in Dotcms. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: dotcms from 5.3.8 before 5.3.8.12, dotcms from 21.06 before 21.06.9, dotcms from 22.01 before 22.06 and 1 more (NVD). Fixed in 5.3.8.12, 21.06.9, 22.06 and 22.03.2 (NVD). Severity: Medium (6.1, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:44 UTC.
What is CVE-2022-35740?
dotCMS before 22.06 allows remote attackers to bypass intended access control and obtain sensitive information by using a semicolon in a URL to introduce a matrix parameter. (This is also fixed in 5.3.8.12, 21.06.9, and 22.03.2 for LTS users.) Some Java application frameworks, including those used by Spring or Tomcat, allow the use of matrix parameters: these are URI parameters separated by semicolons. Through precise semicolon placement in a URI, it is possible to exploit this feature to avoid dotCMS's path-based XSS prevention (such as "require login" filters), and consequently access restricted resources. For example, an attacker could place a semicolon immediately before a / character that separates elements of a filesystem path. This could reveal file content that is ordinarily only visible to signed-in users. This issue can be chained with other exploit code to achieve XSS attacks against dotCMS.
From the CVE record by mitre, last updated May 1, 2025, 13:50 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| dotcms | dotcms | from 5.3.8 before 5.3.8.12 | application |
| dotcms | dotcms | from 21.06 before 21.06.9 | application |
| dotcms | dotcms | from 22.01 before 22.06 | application |
| dotcms | dotcms | from 22.03 before 22.03.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:52 UTC.
How severe is CVE-2022-35740?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | CISA-ADP |
| Medium 6.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-35740 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, May 1, 2025)
- EPSS
- 1.48% probability of exploitation activity in the next 30 days, percentile 74.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://www.dotcms.com/security/SI-63
- https://github.com/dotCMS/patches-hotfixes/tree/master/com.dotcms.security.matrixparams
When was it published, and where is the official record?
- Reserved
- July 13, 2022
- Published
- November 10, 2022, 00:00 UTC
- CVE record updated
- May 1, 2025, 13:50 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:52 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:44 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Dotcms?
- Jul 17, 2022CVE-2022-26352 Dotcms: n/a exploited
- Jul 20, 2026CVE-2026-16337 dotCMS: privilege escalation (improper privilege management)
- Feb 24, 2026CVE-2025-11165 dotCMS: SQL injection
- Feb 1, 2023CVE-2022-45783 Dotcms: path traversal (reading or writing files outside the intended folder)
- Feb 1, 2023CVE-2022-45782 Dotcms: weak random number generator
- Feb 1, 2023CVE-2022-37034 Dotcms: uncontrolled recursion
- Feb 1, 2023CVE-2022-37033 Dotcms: server-side request forgery (SSRF)
- Aug 5, 2022CVE-2022-37431 Dotcms: cross-site scripting (XSS) disputed
Questions about CVE-2022-35740
Is CVE-2022-35740 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 1.48% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Dotcms are affected by CVE-2022-35740?
dotcms from 5.3.8 before 5.3.8.12, dotcms from 21.06 before 21.06.9, dotcms from 22.01 before 22.06 and dotcms from 22.03 before 22.03.2, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2022-35740?
5.3.8.12, 21.06.9, 22.06 and 22.03.2, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-35740?
Medium (6.1, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-35740?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.