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/28/2025, 09:27:55 UTC

Technical Analysis

CVE-2025-11803 is a stored cross-site scripting (XSS) vulnerability identified in the WPSite Shortcode plugin for WordPress, specifically affecting all versions up to and including 1.2. The vulnerability arises from improper neutralization of input during web page generation, classified under CWE-79. It involves insufficient sanitization and output escaping of user-supplied data in the 'format' attribute of the wpsite_y shortcode and the 'before' attribute of the wpsite_postauthor shortcode. Authenticated attackers with contributor-level privileges or higher can exploit this flaw by injecting arbitrary JavaScript code into these shortcode attributes. Because the malicious script is stored, it executes in the context of any user who visits the infected page, potentially compromising user sessions, stealing cookies, or performing unauthorized actions on behalf of users. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, privileges required at the level of a contributor, no user interaction needed, and a scope change indicating impact beyond the vulnerable component. No public exploits have been reported yet, but the risk remains significant due to the widespread use of WordPress and the plugin. The vulnerability affects all versions of the plugin up to 1.2, and no official patches or updates are currently linked, emphasizing the need for immediate mitigation efforts by administrators.

Potential Impact

For European organizations, this vulnerability poses a risk primarily to websites using the WPSite Shortcode plugin on WordPress platforms. Exploitation could lead to session hijacking, unauthorized actions performed under the guise of legitimate users, defacement, or distribution of malware through compromised web pages. Given the stored nature of the XSS, any visitor to the infected page is at risk, potentially including customers, partners, or employees accessing the site. This can damage organizational reputation, lead to data breaches involving user credentials or personal data, and result in regulatory non-compliance under GDPR if personal data is exposed or mishandled. The medium severity score reflects a moderate but tangible threat, especially since exploitation requires authenticated access, limiting the attacker pool but not eliminating risk in environments with multiple contributors or editors. The lack of known exploits in the wild reduces immediate urgency but does not diminish the importance of remediation, as attackers could develop exploits rapidly once the vulnerability is public.

Mitigation Recommendations

European organizations should immediately audit their WordPress installations to identify the presence of the WPSite Shortcode plugin and verify the version in use. Since no official patches are currently linked, administrators should consider the following specific mitigations: 1) Restrict contributor-level access strictly to trusted users to reduce the risk of malicious input injection. 2) Implement web application firewall (WAF) rules to detect and block suspicious shortcode attribute inputs containing script tags or JavaScript event handlers. 3) Employ Content Security Policy (CSP) headers to limit the execution of inline scripts and reduce the impact of any injected scripts. 4) Sanitize and validate all shortcode inputs at the application level if custom modifications are possible. 5) Monitor logs for unusual shortcode usage or error messages indicating attempted exploitation. 6) Prepare to update or replace the plugin once a vendor patch is released. 7) Educate content contributors about the risks of injecting untrusted content into shortcodes. These targeted actions go beyond generic advice and address the specific vectors and conditions of this vulnerability.

Need more detailed analysis?Upgrade to Pro Console

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/28/2025, 9:27:55 AM

Last updated: 1/7/2026, 8:51:46 AM

Views: 25

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 in Console -> Billing for AI refresh and higher limits.

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

Latest Threats