XSS in Mjdm Majordomo
CVE-2026-27177
MajorDoMo (aka Major Domestic Module) contains a stored cross-site scripting (XSS) vulnerability via the /objects/?op=set endpoint, which is intentionally unauthenticated for IoT device integration. User-supplied property values are stored raw in the database without sanitization. When an administrator views the property editor in the admin panel, the stored values are rendered without escaping in both a paragraph tag (SOURCE field) and a textarea element (VALUE field). The XSS fires on page load without requiring any click from the admin. Additionally, the session cookie lacks the HttpOnly flag, enabling session hijack via document.cookie exfiltration. An attacker can enumerate properties via the unauthenticated /api.php/data/ endpoint and poison any property with malicious JavaScript.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.002, 14.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Mjdm Majordomo
- Sergejey Majordomo — versions 0
Weakness classification (CWE)
References
- MajorDoMo Revisited: What I Missed in 2023 (Exploit, Third Party Advisory, third-party-advisory)
- Fix PR: sergejey/majordomo#1177 (issue-tracking, Exploit, patch, Issue Tracking)
- VulnCheck Advisory: MajorDoMo Stored Cross-Site Scripting via Property Set Endpoint (Third Party Advisory, third-party-advisory)