A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-25489

CVE-2026-25489: Craft Commerce Stored XSS Vulnerability

CVE-2026-25489 is a stored XSS vulnerability in Craft Commerce that enables attackers to execute malicious JavaScript in administrator browsers. This article covers technical details, affected versions, and mitigation.

Published: February 6, 2026

CVE-2026-25489 Overview

CVE-2026-25489 is a stored Cross-Site Scripting (XSS) vulnerability affecting Craft Commerce, the ecommerce platform for Craft CMS. This vulnerability allows attackers to execute malicious JavaScript code in an administrator's browser by exploiting improper sanitization of the Name and Description fields within Tax Zones functionality in the admin panel.

Critical Impact

Attackers with access to Tax Zone configuration can inject persistent malicious scripts that execute whenever administrators view the affected Tax Zone entries, potentially leading to session hijacking, credential theft, or unauthorized administrative actions.

Affected Products

  • Craft Commerce versions 4.0.0-RC1 through 4.10.0
  • Craft Commerce versions 5.0.0 through 5.5.1

Discovery Timeline

  • February 3, 2026 - CVE-2026-25489 published to NVD
  • February 4, 2026 - Last updated in NVD database

Technical Details for CVE-2026-25489

Vulnerability Analysis

This stored XSS vulnerability exists due to insufficient input sanitization in the Craft Commerce admin panel. When administrators create or modify Tax Zones, the Name and Description fields accept user input that is stored in the database and later rendered in the admin interface without proper encoding or escaping. This allows an attacker to inject malicious JavaScript that persists in the application and executes in the context of any administrator who subsequently views the affected Tax Zone configuration.

The attack requires authenticated access with privileges to modify Tax Zone settings. Once the malicious payload is stored, it executes automatically when the vulnerable page is loaded by any administrator, making this a particularly dangerous variant of XSS as the payload persists across sessions.

Root Cause

The root cause of CVE-2026-25489 is improper output encoding (CWE-79). The application fails to properly sanitize or encode user-supplied input in the Name and Description fields of Tax Zones before rendering this content in the admin panel HTML. This allows HTML and JavaScript content to be interpreted by the browser rather than being displayed as plain text.

Attack Vector

The attack vector for this vulnerability is network-based, requiring the attacker to have authenticated access to the Craft Commerce admin panel with sufficient privileges to create or modify Tax Zones. The attack flow involves:

  1. An attacker with Tax Zone management privileges accesses the admin panel
  2. The attacker creates or modifies a Tax Zone entry, injecting malicious JavaScript in the Name or Description field
  3. The payload is stored in the application database
  4. When any administrator navigates to view Tax Zones, the malicious script executes in their browser context
  5. The script can then perform actions on behalf of the administrator, steal session tokens, or redirect to malicious sites

The vulnerability mechanism involves improper handling of user input in the Tax Zone form fields. When an administrator views the Tax Zones configuration page, the stored malicious content is rendered directly into the HTML without proper escaping, allowing the injected JavaScript to execute. See the GitHub Security Advisory for complete technical details.

Detection Methods for CVE-2026-25489

Indicators of Compromise

  • Unusual JavaScript code or HTML tags present in Tax Zone Name or Description fields in the database
  • Unexpected script execution or browser behavior when administrators access Tax Zone configuration pages
  • Audit log entries showing modifications to Tax Zones with suspicious content patterns
  • Reports from administrators of unexpected redirects or pop-ups when viewing the admin panel

Detection Strategies

  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Monitor application logs for requests containing common XSS payload patterns targeting Tax Zone endpoints
  • Deploy Web Application Firewall (WAF) rules to detect XSS injection attempts in form submissions
  • Conduct regular database audits to identify stored payloads in Tax Zone records

Monitoring Recommendations

  • Enable detailed logging for all administrative actions, particularly changes to Tax Zones
  • Configure real-time alerting for database modifications to Tax Zone tables containing script tags or event handlers
  • Implement browser-based XSS auditing tools for administrator sessions
  • Review CSP violation reports regularly to identify potential exploitation attempts

How to Mitigate CVE-2026-25489

Immediate Actions Required

  • Update Craft Commerce version 4.x installations to version 4.10.1 or later immediately
  • Update Craft Commerce version 5.x installations to version 5.5.2 or later immediately
  • Review existing Tax Zone entries for any suspicious or malicious content
  • Audit administrator activity logs for unauthorized Tax Zone modifications

Patch Information

Craft CMS has released patched versions that address this vulnerability by implementing proper output encoding for Tax Zone fields. The fix is available in:

  • Craft Commerce v4.10.1 for the 4.x branch
  • Craft Commerce v5.5.2 for the 5.x branch

The security fix can be reviewed in the commit fa273330807807d05b564d37c88654cd772839ee. For additional details, refer to the GitHub Security Advisory GHSA-v585-mf6r-rqrc.

Workarounds

  • Restrict Tax Zone management privileges to only essential personnel until patches are applied
  • Implement strict Content Security Policy (CSP) headers to mitigate the impact of stored XSS
  • Manually review and sanitize any existing Tax Zone entries for malicious content
  • Consider temporarily disabling Tax Zone editing functionality if immediate patching is not possible
bash
# Update Craft Commerce via Composer
# For version 4.x users:
composer require craftcms/commerce:^4.10.1 --update-with-dependencies

# For version 5.x users:
composer require craftcms/commerce:^5.5.2 --update-with-dependencies

# After updating, clear caches
./craft clear-caches/all

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechCraft Commerce

  • SeverityMEDIUM

  • CVSS Score6.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • GitHub Commit Update

  • GitHub Release v4.10.1

  • GitHub Release v5.5.2

  • GitHub Security Advisory GHSA-v585-mf6r-rqrc
  • Related CVEs
  • CVE-2026-25483: Craft Commerce Stored XSS Vulnerability

  • CVE-2026-25490: Craft Commerce Stored XSS Vulnerability

  • CVE-2026-25485: Craft Commerce Stored XSS Vulnerability

  • CVE-2026-25487: Craft Commerce Stored XSS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English