
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-25489 is a stored cross-site scripting (XSS) vulnerability in Craft Commerce, an ecommerce plugin for Craft CMS, that allows authenticated attackers with high privileges to execute malicious JavaScript in an administrator's browser. The vulnerability affects versions 4.0.0-RC1 through 4.10.0 and 5.0.0 through 5.5.1, and was disclosed on February 2, 2026. 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, Feedly).
The root cause is improper output encoding (CWE-79) — the Name and Description fields in Tax Zones are rendered in the admin panel without HTML encoding, allowing stored JavaScript payloads to execute in the browser of any administrator who views the Tax Zones listing page. The fix, applied in commit fa27333, wraps affected field values with Html::encode() across multiple controllers including TaxZonesController.php, ShippingZonesController.php, TaxCategoriesController.php, TaxRatesController.php, and others (Patch Commit). Exploitation requires the attacker to hold specific Craft Commerce permissions: access to the control panel, "Manage store settings," and "Manage taxes" (Github Advisory).
A successful exploit allows an attacker to execute arbitrary JavaScript in the context of an administrator's browser session, enabling session hijacking, credential theft via fake login overlays, and unauthorized administrative actions. Critically, the advisory demonstrates a privilege escalation path: a malicious payload can silently elevate the attacker's account to full administrator if an admin views the Tax Zones page during an elevated session. This could result in complete compromise of the Craft Commerce installation, including access to customer data, order information, and store configuration (Github Advisory).
A proof-of-concept exploit is publicly documented in the GitHub Security Advisory, including specific payload examples and privilege escalation steps. There is no evidence of in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.043% (0.000430), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Github Advisory, Feedly).
Commerce → Store Management → Tax Zones (/admin/commerce/store-management/primary/taxzones).<script>alert(1)</script> for proof-of-concept, or a credential-harvesting/session-hijacking script) in the Name or Description field, then click Save./admin/commerce/store-management/primary/taxzones from unexpected or low-privileged user accounts; POST requests to Tax Zone creation/edit endpoints containing HTML or JavaScript tags in name/description parameters.<script> elements, JavaScript event handlers (e.g., onerror, onload), or encoded variants thereof.Upgrade Craft Commerce to version 4.10.1 (for the 4.x branch) or 5.5.2 (for the 5.x branch), which apply proper HTML encoding to all affected fields (Release 4.10.1, Release 5.5.2). If immediate patching is not possible, restrict the "Manage store settings" and "Manage taxes" permissions to only fully trusted administrators, minimizing the pool of accounts that could inject payloads. Monitor admin panel access logs for suspicious activity on Tax Zone management pages until the patch is applied (Github Advisory).
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."