
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25486 is a stored cross-site scripting (XSS) vulnerability in Craft Commerce, an ecommerce plugin for Craft CMS, that allows attackers to execute malicious JavaScript in an administrator's browser. The vulnerability affects Craft Commerce versions 5.0.0-RC1 through 5.5.1 and was disclosed on February 2, 2026, with a patch released in version 5.5.2. It carries a CVSS v3.1 base score of 4.8 (Medium) and a CVSS v4.0 base score of 6.1 (Medium) (Github Advisory, Craft Commerce Advisory).
The root cause is improper output encoding (CWE-79) — user-supplied input in the Shipping Methods Name field within the Store Management section is stored in the database and later rendered in the admin panel without HTML encoding, allowing injected script tags to execute in the browser context. The fix, applied in commit fa27333, wraps affected fields across multiple controllers (ShippingMethodsController, ShippingCategoriesController, ShippingZonesController, TaxCategoriesController, TaxRatesController, TaxZonesController, and InventoryLocationsController) with Html::encode() calls to properly escape output (Craft Commerce Commit). Exploitation requires the attacker to hold specific Craft Commerce permissions: access to the control panel, "Manage store settings," and "Manage shipping" (Craft Commerce Advisory).
Successful exploitation allows an attacker with limited store management permissions to execute arbitrary JavaScript in the browser of any administrator who views the Shipping Methods page, enabling session hijacking, credential theft via fake login overlays, or privilege escalation to full administrator access. The advisory's proof-of-concept demonstrates that a malicious payload can silently elevate the attacker's own account to administrator-level privileges when an admin with an active elevated session visits the vulnerable page. The scope is limited to the admin panel, with low confidentiality impact and high integrity impact on subsequent systems (Github Advisory, Craft Commerce Advisory).
A proof-of-concept is publicly documented in the GitHub Security Advisory, detailing exact steps and payload types for both basic XSS execution and privilege escalation (Craft Commerce Advisory). There is no evidence of in-the-wild exploitation or threat actor attribution at this time. The EPSS score is approximately 0.024% (7th percentile), indicating a low near-term exploitation probability (Github Advisory). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog.
Commerce → Store Management → Shipping Methods (/admin/commerce/store-management/primary/shippingmethods).<script>alert(1)</script> for proof-of-concept, or a malicious payload for privilege escalation) in the Name field, then save./admin/commerce/store-management/primary/shippingmethods from unusual accounts or at unusual times; audit log entries showing shipping method creation or modification by non-administrator accounts.<script> blocks, JavaScript event handlers (e.g., onerror, onload), or encoded variants thereof.Upgrade Craft Commerce to version 5.5.2 or later, which applies Html::encode() to all affected name and description fields across shipping, tax, and inventory controllers (Craft Commerce Release, Craft Commerce Commit). No configuration-based workaround is available; patching is the only remediation. As an interim measure, restrict the "Manage store settings" and "Manage shipping" permissions to fully trusted users only to reduce the attack surface.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."