BoltApplication · Boltcms

CVE-2019-10874

HIGH · 8.8 CVSS v3.0 Published 2019-04-05
Patch available
A vendor patch is available. No clean upgrade release — apply the published patch.
See remediation →
95/100
Remediation priority · Urgent
Public exploit Remotely reachable No privileges Patch available

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 · unedited
Cross Site Request Forgery (CSRF) in the bolt/upload File Upload feature in Bolt CMS 3.6.6 allows remote attackers to execute arbitrary code by uploading a JavaScript file to include executable extensions in the file/edit/config/config.yml configuration file.

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
How this class of weakness works · CWE-352

The application can't tell whether a state-changing request was genuinely intended by the user, so an attacker can trick a logged-in victim's browser into making it. That can transfer funds, change settings, or create accounts silently. Remediation is anti-CSRF tokens — or equivalent same-site protections — on every state-changing request.

General guidance for the cross-site request forgery (csrf) class — the official description and references above are authoritative for this specific CVE. Want a bespoke review and a reviewed fix? Ask our team →

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
BoltApplication
Affected:= 3.6.6

CVSS 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
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

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 · scoped
Patch available Apply the vendor patch
Vendor patch github.com →
Recommended fix High confidence

Upgrade Bolt CMS 3.6.6 to a 3.6.x release that includes the fix in PR #7768 (commit 91187aef36363a870d60b0a3c1bf8507af34c9e4); if no 3.6.x fix release is available, move to a current 3.x or later maintained branch.

  1. Take a full backup of the Bolt CMS installation (filesystem) and its database before making changes.
  2. Apply the vendor-provided patch by pulling in the fix from the official commit: https://github.com/bolt/bolt/pull/7768/commits/91187aef36363a870d60b0a3c1bf8507af34c9e4 (e.g., via 'git fetch && git cherry-pick 91187aef36363a870d60b0a3c1bf8507af34c9e4' or by upgrading to a Bolt 3.6.x release that contains this commit).
  3. Clear the application cache and any compiled template/asset caches so the patched code paths are loaded (e.g., remove var/cache/* and restart PHP-FPM/the web server if used).
  4. Audit file/edit/config/config.yml (and any other YAML config files under app/config) and remove any extension mappings or allowlists that map .js (or other executable/script extensions) to file_upload allowed extensions; restrict to clearly non-executable MIME types (images, PDFs, documents) as appropriate for your use case.
  5. Verify the fix by attempting an authenticated file upload via the Bolt backend with a forged cross-site request (e.g., a request without the CSRF token); the request should be rejected, and uploads of script types (e.g., .js, .php) should be refused even by legitimate users.
  6. Harden the deployment: enforce HTTPS, set strict session/cookie flags (SameSite=Lax or Strict, HttpOnly, Secure), and ensure no anonymous or low-privilege user has rights to edit configuration files in the Bolt backend.
  7. Review server access logs and any recently uploaded files in the uploads directory for suspicious .js/.php/.phtml files or unexpected config.yml changes, and remove anything malicious.
Caveat Upgrading within the Bolt 3.6.x line is generally low risk; moving across major versions (3.x -> 4.x/5.x) may require template, config, and extension rewrites, so test in a staging environment and review the official Bolt upgrade notes first.

Generated from the published advisory — verify against the referenced sources before acting.

We can apply and verify the patch for your build — typical engagement from $1,950. Get the patch applied

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2019-10874 — 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 sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2019-10874 in production — separate from our analysis above.

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.

What this is

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.

What belongs here
  • 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