StockholmWordPress extension · Select Themes

CVE-2024-34551

CRITICAL · 9.8 CVSS v3.1 Published 2024-06-04
Fix available
A fix is available. Upgrade to 9.7 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

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
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in Select-Themes Stockholm allows PHP Local File Inclusion.This issue affects Stockholm: from n/a through 9.6.

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 confidence

A path traversal vulnerability in the Stockholm WordPress theme (versions through 9.6) allows unauthenticated attackers to traverse directories and include arbitrary PHP files, potentially leading to remote code execution. The CVSS 9.8 score indicates this is remotely exploitable without authentication and can result in complete system compromise.

MitigationUpdate Stockholm theme to version 9.7 or later to patch the path traversal vulnerability. If no patch is available, disable the theme and deploy an alternative theme while monitoring for exploitation attempts.

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
StockholmWordPress extension
Affected:< 9.7

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
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/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 checks

Work through these to decide whether this CVE applies to you.

  1. Identify if Stockholm theme is installed
    Navigate to Appearance > Themes in WordPress admin dashboard and look for Stockholm theme in the installed themes list. Note whether it is the active theme.
    Affected if Stockholm theme is installed and/or active on the WordPress site
  2. Determine installed Stockholm theme version
    Access the theme's style.css file via file manager or FTP at wp-content/themes/stockholm/style.css and locate the 'Version:' comment in the file header, or check the theme version displayed in the WordPress admin theme details panel.
    Affected if Version displayed is less than 9.7 (e.g., 9.6, 9.5, etc.)
  3. Check for suspicious access to theme files
    Review web server access logs (Apache access.log, Nginx access.log) for requests to theme files with directory traversal patterns such as '../', '..\', or requests to non-standard theme paths. Example suspicious pattern: GET /?theme=stockholm&file=../../wp-config.php
    Affected if Unusual traversal patterns found in logs accessing Stockholm theme files
  4. Inspect theme directory for unauthorized modifications
    Compare current theme files in wp-content/themes/stockholm/ against a known clean backup or the official theme distribution. Look for newly created PHP files with random names, modified existing PHP files, or base64-encoded strings in files.
    Affected if New or modified PHP files found in the theme directory that were not part of the original theme distribution

You are affected if the Stockholm theme version is below 9.7 and the theme is installed on your WordPress site, as this version range contains the path traversal vulnerability allowing unauthenticated remote code execution.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

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
Upgrade available Upgrade to 9.7 or later
Fixed in 9.7
Interim mitigation

Update Stockholm theme to version 9.7 or later to patch the path traversal vulnerability. If no patch is available, disable the theme and deploy an alternative theme while monitoring for exploitation attempts.

Recommended fix Moderate confidence

Stockholm theme version 9.7

  1. Backup your website before making any changes
  2. Update the Stockholm theme to version 9.7 or later through your WordPress dashboard (Appearance > Themes) or via FTP upload of the new version
  3. Verify the update was successful by checking the theme version in Appearance > Themes
  4. Clear any caching mechanisms after the update
  5. Test critical functionality to ensure the theme works correctly after the upgrade
Caveat Major theme updates may include template or functionality changes; test thoroughly before deploying to production

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

Fix this in Stockholm Scoped from the published advisory
  • Consultation2.0 h
  • Implementation3.0 h
  • Testing3.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,750
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,800.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2024-34551 — 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-2024-34551 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