CVE-2026-27176: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sergejey MajorDoMo
MajorDoMo (aka Major Domestic Module) 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.
AI Analysis
Technical Summary
CVE-2026-27176 identifies a reflected cross-site scripting (XSS) vulnerability in MajorDoMo, an open-source home automation platform developed by sergejey. The vulnerability exists in the command.php script, where the $qry parameter is incorporated directly into the HTML output without proper neutralization via htmlspecialchars() or equivalent encoding functions. Specifically, the unsanitized $qry parameter is embedded both within an input field's value attribute and a paragraph element, creating multiple injection points. An attacker can exploit this by crafting a malicious URL containing JavaScript payloads in the qry parameter, which, when visited by a victim, executes in the victim's browser context. This reflected XSS does not require prior authentication, increasing its attack surface, but does require user interaction such as clicking or visiting a malicious link. The CVSS 4.0 vector (AV:N/AC:L/AT:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) reflects network attack vector, low complexity, no privileges or authentication needed, but requires user interaction, and limited scope and impact confined to integrity and availability. Although no public exploits are currently known, the vulnerability can facilitate session hijacking, phishing, or unauthorized actions on behalf of the user. The affected version is listed as 0, which likely indicates all current versions or an unspecified version baseline. The lack of official patches necessitates immediate mitigation through input validation and output encoding at the application level.
Potential Impact
The primary impact of this vulnerability is the potential for attackers to execute arbitrary JavaScript in the context of a victim’s browser when interacting with MajorDoMo’s web interface. This can lead to session hijacking, theft of authentication tokens, unauthorized actions performed on behalf of the user, defacement of the user interface, or redirection to malicious websites. For organizations relying on MajorDoMo for home or building automation, such attacks could compromise the confidentiality and integrity of user sessions and potentially disrupt automation controls, impacting availability indirectly. Since the vulnerability is reflected XSS, it requires user interaction, limiting mass exploitation but still posing significant risk through targeted phishing campaigns. The medium CVSS score reflects moderate risk; however, in environments where MajorDoMo controls critical infrastructure or sensitive data, the impact could be more severe. The lack of known exploits reduces immediate risk but does not eliminate the threat, especially as proof-of-concept exploits could emerge. The vulnerability could also be chained with other attacks to escalate impact.
Mitigation Recommendations
To mitigate CVE-2026-27176, organizations should implement strict input validation and output encoding for all user-supplied data, especially the qry parameter in command.php. Specifically, ensure that all inputs are sanitized using functions like htmlspecialchars() with appropriate flags to neutralize special characters before rendering in HTML contexts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the browser. If possible, update MajorDoMo to a patched version once available or apply custom patches that enforce proper sanitization. Additionally, educate users to avoid clicking suspicious links and implement web application firewalls (WAFs) with rules to detect and block reflected XSS payloads targeting MajorDoMo endpoints. Regularly audit and monitor logs for unusual URL parameters or access patterns. For environments with high security requirements, consider isolating MajorDoMo interfaces behind VPNs or access controls to reduce exposure.
Affected Countries
United States, Germany, Russia, France, United Kingdom, Japan, South Korea, Canada, Australia, Netherlands
CVE-2026-27176: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in sergejey MajorDoMo
Description
MajorDoMo (aka Major Domestic Module) 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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-27176 identifies a reflected cross-site scripting (XSS) vulnerability in MajorDoMo, an open-source home automation platform developed by sergejey. The vulnerability exists in the command.php script, where the $qry parameter is incorporated directly into the HTML output without proper neutralization via htmlspecialchars() or equivalent encoding functions. Specifically, the unsanitized $qry parameter is embedded both within an input field's value attribute and a paragraph element, creating multiple injection points. An attacker can exploit this by crafting a malicious URL containing JavaScript payloads in the qry parameter, which, when visited by a victim, executes in the victim's browser context. This reflected XSS does not require prior authentication, increasing its attack surface, but does require user interaction such as clicking or visiting a malicious link. The CVSS 4.0 vector (AV:N/AC:L/AT:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N) reflects network attack vector, low complexity, no privileges or authentication needed, but requires user interaction, and limited scope and impact confined to integrity and availability. Although no public exploits are currently known, the vulnerability can facilitate session hijacking, phishing, or unauthorized actions on behalf of the user. The affected version is listed as 0, which likely indicates all current versions or an unspecified version baseline. The lack of official patches necessitates immediate mitigation through input validation and output encoding at the application level.
Potential Impact
The primary impact of this vulnerability is the potential for attackers to execute arbitrary JavaScript in the context of a victim’s browser when interacting with MajorDoMo’s web interface. This can lead to session hijacking, theft of authentication tokens, unauthorized actions performed on behalf of the user, defacement of the user interface, or redirection to malicious websites. For organizations relying on MajorDoMo for home or building automation, such attacks could compromise the confidentiality and integrity of user sessions and potentially disrupt automation controls, impacting availability indirectly. Since the vulnerability is reflected XSS, it requires user interaction, limiting mass exploitation but still posing significant risk through targeted phishing campaigns. The medium CVSS score reflects moderate risk; however, in environments where MajorDoMo controls critical infrastructure or sensitive data, the impact could be more severe. The lack of known exploits reduces immediate risk but does not eliminate the threat, especially as proof-of-concept exploits could emerge. The vulnerability could also be chained with other attacks to escalate impact.
Mitigation Recommendations
To mitigate CVE-2026-27176, organizations should implement strict input validation and output encoding for all user-supplied data, especially the qry parameter in command.php. Specifically, ensure that all inputs are sanitized using functions like htmlspecialchars() with appropriate flags to neutralize special characters before rendering in HTML contexts. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the browser. If possible, update MajorDoMo to a patched version once available or apply custom patches that enforce proper sanitization. Additionally, educate users to avoid clicking suspicious links and implement web application firewalls (WAFs) with rules to detect and block reflected XSS payloads targeting MajorDoMo endpoints. Regularly audit and monitor logs for unusual URL parameters or access patterns. For environments with high security requirements, consider isolating MajorDoMo interfaces behind VPNs or access controls to reduce exposure.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-02-18T15:22:30.053Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69962e786aea4a407ae921f4
Added to database: 2/18/2026, 9:26:16 PM
Last enriched: 3/7/2026, 9:03:47 PM
Last updated: 4/7/2026, 6:50:38 AM
Views: 40
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.