CVE-2026-141419: MainWP Child Reports <= 2.3.1 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via User Display Name
The MainWP Child Reports plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'displayname' parameter in all versions up to, and including, 2.3.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. WordPress core kses filtering preserves HTML-entity-encoded payloads in a Subscriber's display name because entity-encoded text does not constitute a raw tag; the browser's HTML parser later decodes those entities inside the select2 option's text content, producing a raw HTML string that is fed into the DOM sink when an administrator opens the 'Show all users' filter dropdown on the Child Reports screen. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue, and who must interact with the malicious content?
An attacker needs an authenticated WordPress account with at least Subscriber-level access and must be able to set a crafted display name. Exploitation occurs only when an administrator opens the “Show all users” filter dropdown on the Child Reports screen; the attacker cannot trigger execution independently.
Which deployments are affected?
All MainWP Child Reports versions through 2.3.1 are affected. The vulnerable path relies on WordPress core preserving HTML-entity-encoded content in a Subscriber’s display name, so Subscriber-level accounts are sufficient.
What can happen if an administrator triggers the payload?
Arbitrary web scripts supplied by the attacker can execute in the administrator’s browser when the affected dropdown is opened. The reported impact includes confidentiality and integrity effects, with scope changed.
What mitigation is available if an update cannot be applied immediately?
Limit or remove Subscriber-and-higher accounts that are not trusted, and review user display names for HTML-entity-encoded script-like payloads. Administrators should avoid opening the “Show all users” filter dropdown on the Child Reports screen until the issue is remediated.