What’s Vulnerable › Vulnerabilities
CVE-2022-35740
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-11-10 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- dotCMS core: from 5.3.8 before 5.3.8.12; from 21.06 before 21.06.9; from 22.01 before 22.06; from 22.03 before 22.03.2 — fixed in 21.06.9, 22.03.2, 22.06, 5.3.8.12
How to fix
Upgrade to a fixed version: dotCMS core 21.06.9, 22.03.2, 22.06, 5.3.8.12. Check the vendor advisory for mitigations.
References
- https://github.com/dotCMS/patches-hotfixes/tree/master/com.dotcms.security.matrixparams
- https://www.dotcms.com/security/SI-63
- https://github.com/dotCMS/patches-hotfixes/tree/master/com.dotcms.security.matrixparams
- https://www.dotcms.com/security/SI-63
Get alerted when CVE-2022-35740 or the next vulnerability affects your stack