MainWP Child Reports <= 2.3.1 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via User Display Name
- CVE-2026-141419
- EUVD-2026-145193
Summary
The MainWP Child Reports WordPress plugin, in all versions up to and including 2.3.1, fails to sanitize and escape the display_name value of users. An authenticated attacker with Subscriber-level access or higher can store a script payload in their display name. WordPress core filtering keeps HTML-entity-encoded text, and when the browser decodes those entities inside a select2 option, the result is passed to a DOM sink. The script runs when an administrator opens the 'Show all users' filter dropdown on the Child Reports screen. The attacker cannot trigger it alone; an administrator action is required. The CVSS score is 5.4, and the record does not list it as known exploited.
AI summary · verify against the vendor advisory
Description
The MainWP Child Reports plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'display_name' 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.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
mainwp MainWP Child Reports
Affected versions Fixed in up to 2.3.1 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.