Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-13988: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

0
Medium
VulnerabilityCVE-2025-13988cvecve-2025-13988cwe-79
Published: Fri Dec 12 2025 (12/12/2025, 03:20:53 UTC)
Source: CVE Database V5
Vendor/Project: thobian

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 10:38:39 UTC

Technical Analysis

CVE-2025-13988 is a reflected Cross-Site Scripting (XSS) vulnerability identified in the 评论小秘书 plugin for WordPress, affecting all versions up to and including 1.3.2. The root cause is insufficient input sanitization and output escaping of the $_SERVER['PHP_SELF'] variable on the plugin's settings page. This variable reflects the current script's filename and path, and when improperly handled, it can be manipulated by an attacker to inject arbitrary JavaScript code. Since the vulnerability is reflected, the malicious payload is embedded in a crafted URL that, when visited by a user, causes the injected script to execute in the context of the victim's browser session. The attack vector requires no authentication but does require user interaction, such as clicking a malicious link. The CVSS 3.1 base score is 6.1, indicating medium severity, with attack vector network (AV:N), low attack complexity (AC:L), no privileges required (PR:N), user interaction required (UI:R), scope changed (S:C), and impacts on confidentiality and integrity (C:L/I:L) but no impact on availability (A:N). The vulnerability could enable attackers to steal session cookies, perform actions on behalf of users, or conduct phishing attacks by injecting deceptive content. No known exploits have been reported in the wild as of the publication date. The plugin is developed by thobian and is popular among Chinese-speaking WordPress users, especially for managing comments. The vulnerability was publicly disclosed on December 12, 2025, and no official patches have been linked yet.

Potential Impact

The primary impact of CVE-2025-13988 is the compromise of user confidentiality and integrity through reflected XSS attacks. Attackers can steal session cookies, enabling account takeover or impersonation of legitimate users. They can also inject malicious scripts that alter webpage content, potentially misleading users or harvesting sensitive information such as credentials. Although availability is not affected, the reputational damage and potential data breaches resulting from successful exploitation can be significant for organizations. Since the vulnerability requires user interaction, social engineering campaigns could be used to increase success rates. Organizations running the 评论小秘书 plugin on WordPress sites, especially those with high user interaction or administrative access, face increased risk of targeted attacks. The vulnerability could also serve as a foothold for further exploitation within compromised environments.

Mitigation Recommendations

To mitigate CVE-2025-13988, organizations should immediately update the 评论小秘书 plugin to a patched version once available. In the absence of an official patch, administrators can implement input validation and output encoding on the $_SERVER['PHP_SELF'] variable within the plugin's code, ensuring all user-controllable input is properly sanitized and escaped before rendering. Employing a Web Application Firewall (WAF) with rules to detect and block reflected XSS payloads targeting the plugin's settings page can provide temporary protection. Additionally, enabling Content Security Policy (CSP) headers to restrict script execution sources can reduce the impact of injected scripts. Educating users to avoid clicking suspicious links and monitoring web server logs for unusual requests to the plugin's settings page can help detect exploitation attempts. Regular security audits and vulnerability scanning of WordPress plugins should be conducted to identify similar issues proactively.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-12-03T17:05:57.343Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 693b9187650da22753edbd48

Added to database: 12/12/2025, 3:52:39 AM

Last enriched: 2/27/2026, 10:38:39 AM

Last updated: 3/24/2026, 10:57:22 AM

Views: 36

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses