CVE-2012-1826: Dotcms DotCMS Allows Remote Authenticated Users Vulnerability
HIGHCVE-2012-1826 is a HIGH dotcms allows remote authenticated users vulnerability (General Security Weakness) affecting Dotcms libraries in the Maven ecosystem. The issue involves dotcms allows remote authenticated users to execute arbitrary java code. Remediation is available by upgrading affected packages to version 1.9.5.1.
CVE-2012-1826 at a Glance
How to Fix CVE-2012-1826
To remediate this vulnerability, upgrade all affected Dotcms dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>com.dotcms</groupId>
<artifactId>dotcms</artifactId>
<version>1.9.5.1</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=com.dotcms
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2012-1826, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=com.dotcms
Analyze the terminal output to locate any version of Dotcms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.9.5.1), your application is affected.
Note: The mvn dependency:tree -Dincludes=com.dotcms command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Dotcms, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2012-1826 Affected Dotcms Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
com.dotcms:dotcms
|
Maven |
≥ 1.9
< 1.9.5.1
|
1.9.5.1
|
References
Frequently Asked Questions
What is CVE-2012-1826?
Which Dotcms versions are affected?
What version fixes CVE-2012-1826?
Is dotcms affected?
What CWE is associated with CVE-2012-1826?
How can I check Maven dependencies for CVE-2012-1826?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-42vg-q6mw-cfh5",
"modified" : "2025-04-12T02:31:32Z",
"published" : "2022-05-17T05:18:41Z",
"aliases" : [ "CVE-2012-1826" ],
"summary" : "dotCMS allows remote authenticated users to execute arbitrary Java code",
"details" : "dotCMS 1.9 before 1.9.5.1 allows remote authenticated users to execute arbitrary Java code via a crafted (1) XSLT or (2) Velocity template.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "com.dotcms:dotcms"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.9"
}, {
"fixed" : "1.9.5.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-1826"
}, {
"type" : "WEB",
"url" : "https://github.com/dotCMS/dotCMS/issues/261"
}, {
"type" : "WEB",
"url" : "https://github.com/dotCMS/dotCMS/issues/281"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dotCMS/dotCMS"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20201208044614/https://gist.github.com/jtesser/2627440"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20210124000108/https://www.securityfocus.com/bid/53688"
}, {
"type" : "WEB",
"url" : "http://dotcms.com/dotCMSVersions"
}, {
"type" : "WEB",
"url" : "http://www.kb.cert.org/vuls/id/898083"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2025-04-12T02:31:18Z",
"nvd_published_at" : "2012-06-08T16:55:00Z"
}
}