CVE-2020-18875
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedIncorrect Access Control in DotCMS versions before 5.1 allows remote attackers to gain privileges by injecting client configurations via vtl (velocity) files.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidenceThis is an Incorrect Access Control vulnerability in DotCMS content management system affecting versions prior to 5.1. The vulnerability allows remote attackers to inject malicious client configurations by uploading or manipulating Velocity template files (.vtl), enabling privilege escalation beyond what the user should normally have.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data< 5.1.0CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify if DotCMS is installedCheck for the presence of DotCMS by looking for the /dotcms/ directory in your web application root, or by accessing the login page at yourdomain.com/dotcms/Affected if DotCMS is found in the environment
-
Determine the installed DotCMS versionAccess the DotCMS admin panel and navigate to System > About, or check the version.txt file in the DotCMS installation directoryAffected if The installed version is any version prior to 5.1.0
-
Check for Velocity template file upload capabilityLog in as a standard user and attempt to access the Tools > Template or Content > File Editor sections. Look for the ability to create, edit, or upload .vtl filesAffected if Users with limited privileges can create or modify Velocity template (.vtl) files
-
Inspect user role permissions for template managementNavigate to System > Roles and Users in the admin panel, then review the permissions assigned to non-admin roles for the 'Template' resourceAffected if Non-administrator roles have create, edit, or delete permissions on templates
-
Scan for suspicious .vtl template filesSearch the DotCMS installation directory, typically under /dotserver/tomcat-X.X/webapps/ROOT/WEB-INF/velocity/, for recently modified or unexpected .vtl files containing malicious script contentAffected if Unexpected .vtl files exist or templates contain code not authored by administrators
Your environment is affected if DotCMS is running and the installed version is prior to 5.1.0 and users with limited privileges can create or modify Velocity template files.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped5.1.0
Upgrade to DotCMS version 5.1 or later to patch this vulnerability. Additionally, restrict file upload permissions and disable or closely control the ability to create/modify VTL template files for untrusted users.
DotCMS 5.1.0 or later
- 1. Backup your current DotCMS installation and database before proceeding with any upgrade.
- 2. Download DotCMS version 5.1.0 or later from the official dotcms.com download repository.
- 3. Review the official upgrade guide for your current version to ensure compatibility.
- 4. Stop the DotCMS application service.
- 5. Deploy the new version following standard DotCMS upgrade procedures.
- 6. Verify that the VTL file handling and client configuration injection vulnerability is addressed.
- 7. Test that normal DotCMS functionality works as expected after the upgrade.
- 8. Restart the DotCMS application service.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation6.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,984.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2020-18875 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2020-18875 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data