Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
MainWP Child Reports <= 2.3.1 - Authenticated (Subscriber+) Stored DOM-Based Cross-Site Scripting via User Display Name
Vulnerability 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.
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)