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-11803: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpfanyi WPSite Shortcode

0
Medium
VulnerabilityCVE-2025-11803cvecve-2025-11803cwe-79
Published: Fri Nov 21 2025 (11/21/2025, 08:28:11 UTC)
Source: CVE Database V5
Vendor/Project: wpfanyi
Product: WPSite Shortcode

Description

The WPSite Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'format' shortcode attribute in the wpsite_y shortcode and the 'before' attribute in the wpsite_postauthor shortcode in all versions up to, and including, 1.2. This is due to insufficient input sanitization and output escaping in error messages. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

AI-Powered Analysis

AILast updated: 11/21/2025, 08:56:06 UTC

Technical Analysis

CVE-2025-11803 identifies a stored Cross-Site Scripting (XSS) vulnerability in the WPSite Shortcode plugin for WordPress, specifically in all versions up to and including 1.2. The vulnerability stems from insufficient sanitization and escaping of user-supplied input in the 'format' attribute of the wpsite_y shortcode and the 'before' attribute of the wpsite_postauthor shortcode. These attributes are used in generating error messages, where malicious scripts can be injected and persistently stored. An attacker with contributor-level privileges or higher can exploit this by submitting crafted shortcode attributes that embed arbitrary JavaScript. When any user, including administrators or visitors, accesses the affected page, the malicious script executes in their browser context, potentially leading to session hijacking, privilege escalation, or data theft. The CVSS v3.1 score of 6.4 reflects a medium severity with network attack vector, low attack complexity, requiring privileges but no user interaction, and a scope change indicating impact beyond the vulnerable component. No public exploits are currently known, but the vulnerability poses a significant risk due to the widespread use of WordPress and the plugin. The vulnerability was published on November 21, 2025, and no patches are currently linked, suggesting users must monitor for updates or apply manual mitigations.

Potential Impact

For European organizations, this vulnerability presents a moderate risk primarily to websites using the WPSite Shortcode plugin on WordPress. Exploitation can lead to unauthorized script execution in users' browsers, enabling session hijacking, theft of sensitive information such as cookies or credentials, defacement of websites, or delivery of further malware. This can damage organizational reputation, lead to data breaches, and disrupt business operations. Since the attack requires contributor-level access, insider threats or compromised accounts are a primary concern. The scope change in the CVSS score indicates that the impact extends beyond the plugin itself, potentially affecting the entire website and its users. Organizations with customer-facing WordPress sites or internal portals using this plugin are particularly vulnerable. Given the medium severity, the threat is significant but not critical, allowing some time for mitigation before exploitation becomes widespread.

Mitigation Recommendations

1. Monitor for official patches or updates from the WPSite Shortcode plugin vendor and apply them promptly once available. 2. Until a patch is released, restrict contributor-level access to trusted users only and audit existing user privileges to minimize risk. 3. Implement Web Application Firewall (WAF) rules to detect and block suspicious shortcode attribute inputs containing script tags or suspicious payloads. 4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts on affected sites. 5. Conduct manual code reviews or apply custom input validation and output encoding on the affected shortcode attributes if feasible. 6. Regularly scan WordPress sites for XSS vulnerabilities using specialized security tools. 7. Educate site administrators and contributors about the risks of injecting untrusted content in shortcodes. 8. Maintain regular backups of website content to enable quick restoration if defacement occurs.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
Wordfence
Date Reserved
2025-10-15T14:34:38.233Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69202539cf2d47c3899a7b0d

Added to database: 11/21/2025, 8:39:21 AM

Last enriched: 11/21/2025, 8:56:06 AM

Last updated: 11/21/2025, 10:52:08 PM

Views: 6

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 enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats