CVE-2026-27177 MajorDoMo Stored Cross-Site Scripting via Property Set Endpoint

Medium 5.3 Published Updated

Attackers can inject malicious scripts via unauthenticated property updates, leading to admin session hijacking and potential code execution in MajorDoMo.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-27177?

CVE-2026-27177 is a medium-severity cross-site scripting vulnerability in sergejey MajorDoMo, published on 18 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

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.

Weakness: CWE-79

Which versions are affected by CVE-2026-27177?

It affects 1 product.

Products include Mjdm Majordomo.

How do I fix CVE-2026-27177?

No fix has been published for CVE-2026-27177 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-27177 being exploited?

There is no known exploitation of CVE-2026-27177 in the wild and no public exploit code.

Sources

Also known as GHSA-c59q-pmw5-v3pf.

Is CVE-2026-27177 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free