{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4641",
 "modified": "2026-12-04T16:42:59Z",
 "published": "2026-12-04T16:42:59Z",
 "summary": "MainWP Child Reports <= 2.3.1 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Report Filter and Exclusion Rule Labels",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "mainwp-child-reports"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "2.4"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 2.4"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4641/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/mainwp-child-reports/tags/2.4/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/mainwp-child-reports/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4641/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
