MainWP Child Reports <= 2.3.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Report Filter and Exclusion Rule Labels
- ID
- WPSEC-2026-4641
- Plugin
- MainWP Child Reports (mainwp-child-reports)
- Affected
- all versions before 2.4
- Remediation
- Update to 2.4 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-04
- Attack surface
- MainWP Child Reports on WPSec AttackSurface
- Fix released
- Published
Description
The MainWP Child Reports plugin for WordPress is vulnerable to Stored Cross-Site Scripting via user display names shown in the report user filter and in saved exclusion rules in all versions up to, and including, 2.3.1. This is due to the select2 templates and the exclusion-rule option setup scripts adding option labels and the selected user's name to the page as HTML instead of text. HTML-encoded markup in a display name is decoded back into live markup by the browser. This makes it possible for authenticated attackers, with subscriber-level access and above, to inject arbitrary web scripts that execute when an administrator views the plugin's reports or exclusion settings pages.
References
- https://wpsec.com/vuln/WPSEC-2026-4641/
- https://plugins.svn.wordpress.org/mainwp-child-reports/tags/2.4/
- https://wordpress.org/plugins/mainwp-child-reports/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS