CVE-2025-13988 评论小秘书 <= 1.3.2 - Reflected Cross-Site Scripting via $_SERVER['PHP_SELF']
Unauthenticated attackers can inject arbitrary scripts via the settings page, potentially executing code in victim browsers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-13988?
CVE-2025-13988 is a medium-severity cross-site scripting vulnerability in thobian 评论小秘书, published on 12 Dec 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The 评论小秘书 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the `$_SERVER['PHP_SELF']` variable in all versions up to, and including, 1.3.2. This is due to insufficient input sanitization and output escaping on the `$_SERVER['PHP_SELF']` variable in the plugin's settings page. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
Weakness: CWE-79
Which versions are affected by CVE-2025-13988?
How do I fix CVE-2025-13988?
No fix has been published for CVE-2025-13988 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-13988 being exploited?
There is no known exploitation of CVE-2025-13988 in the wild and no public exploit code.
Sources
Also known as GHSA-7fgg-5v4h-3wp9.