The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-27176

CVE-2026-27176: MajorDoMo Reflected XSS Vulnerability

CVE-2026-27176 is a reflected cross-site scripting flaw in MajorDoMo's command.php that allows attackers to inject malicious JavaScript via unsanitized parameters. This article covers technical details, impact, and mitigation.

Published: February 20, 2026

CVE-2026-27176 Overview

MajorDoMo (aka Major Domestic Module), a popular open-source home automation platform, contains a reflected cross-site scripting (XSS) vulnerability in command.php. The $qry parameter is rendered directly into the HTML page without sanitization via htmlspecialchars(), both in an input field value attribute and in a paragraph element. An attacker can inject arbitrary JavaScript by crafting a URL with malicious content in the qry parameter.

Critical Impact

Attackers can execute arbitrary JavaScript in the context of authenticated user sessions, potentially leading to session hijacking, credential theft, or unauthorized actions within the home automation system.

Affected Products

  • MajorDoMo (Major Domestic Module) - command.php component
  • Versions prior to the security patch referenced in GitHub Pull Request #1177

Discovery Timeline

  • 2026-02-18 - CVE-2026-27176 published to NVD
  • 2026-02-19 - Last updated in NVD database

Technical Details for CVE-2026-27176

Vulnerability Analysis

This reflected XSS vulnerability exists due to insufficient input validation in the command.php script within MajorDoMo. The application fails to properly sanitize user-supplied input from the $qry parameter before rendering it in the HTML response. The vulnerable code outputs the parameter value in two locations: within an input field's value attribute and within a paragraph element, neither of which applies proper HTML entity encoding using htmlspecialchars() or equivalent sanitization functions.

Reflected XSS vulnerabilities of this nature require user interaction, as the victim must click on a malicious link crafted by the attacker. Once clicked, the injected JavaScript executes within the victim's browser session with full access to the application's DOM and cookies.

Root Cause

The root cause is improper input sanitization (CWE-79: Improper Neutralization of Input During Web Page Generation). The $qry parameter is directly echoed into the HTML output without applying proper encoding, allowing an attacker to break out of the HTML context and inject malicious script tags or event handlers.

Attack Vector

The attack vector is network-based, requiring an attacker to craft a malicious URL containing JavaScript payload in the qry parameter. When an authenticated user clicks this link, the malicious script executes in their browser within the context of the MajorDoMo application. This could allow attackers to:

  • Steal session cookies and authentication tokens
  • Perform actions on behalf of the authenticated user
  • Redirect users to phishing pages
  • Modify home automation settings or device configurations

The vulnerability is exploited by injecting JavaScript into the qry parameter. For example, an attacker might craft a URL containing script tags or event handlers that execute when the page renders. The malicious payload could close the existing HTML attribute context, inject a script element, and execute arbitrary code. Technical details and proof-of-concept information can be found in the Chocapikk Blog Post and the VulnCheck Advisory.

Detection Methods for CVE-2026-27176

Indicators of Compromise

  • Suspicious HTTP requests to command.php containing encoded script tags or JavaScript event handlers in the qry parameter
  • URL-encoded payloads such as %3Cscript%3E, %22onmouseover%3D, or similar injection patterns in request logs
  • Unusual outbound connections from client browsers after visiting MajorDoMo pages

Detection Strategies

  • Implement web application firewall (WAF) rules to detect and block XSS payloads in request parameters
  • Monitor HTTP access logs for suspicious patterns in the qry parameter, including HTML tags and JavaScript event handlers
  • Deploy browser-based XSS detection through Content Security Policy (CSP) violation reporting
  • Use intrusion detection systems (IDS) with signatures for common XSS attack patterns

Monitoring Recommendations

  • Enable detailed logging for all requests to command.php and review for anomalous patterns
  • Configure alerting for requests containing potential XSS payloads such as <script>, javascript:, or HTML event attributes
  • Monitor for CSP violations which may indicate attempted XSS exploitation
  • Review authentication logs for any suspicious session activity following detected XSS attempts

How to Mitigate CVE-2026-27176

Immediate Actions Required

  • Apply the security patch from GitHub Pull Request #1177 immediately
  • Implement Content Security Policy (CSP) headers to restrict inline script execution
  • Review and audit all user input handling in the MajorDoMo codebase for similar vulnerabilities
  • Educate users about the risks of clicking untrusted links

Patch Information

A security fix is available via GitHub Pull Request #1177. The patch adds proper input sanitization using htmlspecialchars() to encode special characters before rendering user input in HTML contexts. Organizations should update to the patched version as soon as possible. Additional technical details are available in the VulnCheck Advisory.

Workarounds

  • Implement a web application firewall (WAF) rule to filter requests containing potential XSS payloads in the qry parameter
  • Restrict access to command.php to trusted networks or authenticated users only until the patch can be applied
  • Add Content-Security-Policy headers at the web server level to mitigate the impact of any successful XSS attacks
bash
# Example Apache configuration for CSP header
<IfModule mod_headers.c>
    Header set Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none';"
</IfModule>

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechMajordomo

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/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
  • Chocapikk Blog Post

  • GitHub Pull Request

  • VulnCheck Advisory
  • Related CVEs
  • CVE-2026-27177: MajorDoMo Stored XSS Vulnerability

  • CVE-2026-27178: MajorDoMo Stored XSS Vulnerability

  • CVE-2026-27175: MajorDoMo OS Command Injection RCE Flaw

  • CVE-2026-27179: MajorDoMo SQL Injection Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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