CVE-2025-11803: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpfanyi WPSite Shortcode
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 Analysis
Technical Summary
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 stems from insufficient sanitization and escaping of user-supplied input in two shortcode attributes: the 'format' attribute in the wpsite_y shortcode and the 'before' attribute in the wpsite_postauthor shortcode. These shortcodes generate dynamic web content, and the lack of proper input validation allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into WordPress pages. When other users visit these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions performed with the victim's credentials. The vulnerability requires no user interaction beyond visiting the compromised page, and no higher privileges than contributor access are necessary to exploit it. The CVSS 3.1 base score is 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, privileges required at the contributor level, no user interaction needed, and a scope change indicating impact beyond the vulnerable component. Although no known exploits have been observed in the wild, the vulnerability poses a significant risk due to the widespread use of WordPress and the common deployment of the WPSite Shortcode plugin. The vulnerability was publicly disclosed on November 21, 2025, and no official patches have been linked yet, emphasizing the need for immediate mitigation steps.
Potential Impact
The primary impact of CVE-2025-11803 is the compromise of confidentiality and integrity within affected WordPress sites. Exploitation allows authenticated contributors to inject persistent malicious scripts that execute in the context of any user visiting the infected pages. This can lead to theft of session cookies, enabling attackers to impersonate users with potentially higher privileges, including administrators. Attackers may also manipulate page content, redirect users to malicious sites, or perform unauthorized actions on behalf of victims. While availability is not directly affected, the reputational damage and potential data breaches can be severe. Organizations relying on WordPress sites with the vulnerable plugin face increased risk of targeted attacks, especially if contributor accounts are not tightly controlled. The scope of impact extends to all users accessing compromised pages, magnifying the threat in environments with large user bases. Given the medium CVSS score and the ease of exploitation by contributors, the vulnerability represents a moderate but actionable risk to website security and user trust.
Mitigation Recommendations
To mitigate CVE-2025-11803, organizations should first monitor for updates or patches released by the WPSite Shortcode plugin developers and apply them promptly once available. Until official patches are released, administrators should restrict contributor-level access to trusted users only, minimizing the risk of malicious shortcode attribute injection. Implementing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious shortcode attribute patterns can provide interim protection. Site administrators can also sanitize and validate shortcode inputs manually by customizing plugin code or using security plugins that enforce stricter input validation. Regularly auditing contributor activity and scanning site content for injected scripts or unusual shortcode usage is recommended. Additionally, educating contributors about secure content practices and limiting the use of shortcodes that accept user input can reduce exposure. Employing Content Security Policy (CSP) headers to restrict script execution sources can mitigate the impact of injected scripts. Finally, maintaining up-to-date backups ensures recovery capability if exploitation occurs.
Affected Countries
United States, India, Brazil, Germany, United Kingdom, Canada, Australia, France, Japan, Netherlands
CVE-2025-11803: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in wpfanyi 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
Machine-generated threat intelligence
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 stems from insufficient sanitization and escaping of user-supplied input in two shortcode attributes: the 'format' attribute in the wpsite_y shortcode and the 'before' attribute in the wpsite_postauthor shortcode. These shortcodes generate dynamic web content, and the lack of proper input validation allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into WordPress pages. When other users visit these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions performed with the victim's credentials. The vulnerability requires no user interaction beyond visiting the compromised page, and no higher privileges than contributor access are necessary to exploit it. The CVSS 3.1 base score is 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, privileges required at the contributor level, no user interaction needed, and a scope change indicating impact beyond the vulnerable component. Although no known exploits have been observed in the wild, the vulnerability poses a significant risk due to the widespread use of WordPress and the common deployment of the WPSite Shortcode plugin. The vulnerability was publicly disclosed on November 21, 2025, and no official patches have been linked yet, emphasizing the need for immediate mitigation steps.
Potential Impact
The primary impact of CVE-2025-11803 is the compromise of confidentiality and integrity within affected WordPress sites. Exploitation allows authenticated contributors to inject persistent malicious scripts that execute in the context of any user visiting the infected pages. This can lead to theft of session cookies, enabling attackers to impersonate users with potentially higher privileges, including administrators. Attackers may also manipulate page content, redirect users to malicious sites, or perform unauthorized actions on behalf of victims. While availability is not directly affected, the reputational damage and potential data breaches can be severe. Organizations relying on WordPress sites with the vulnerable plugin face increased risk of targeted attacks, especially if contributor accounts are not tightly controlled. The scope of impact extends to all users accessing compromised pages, magnifying the threat in environments with large user bases. Given the medium CVSS score and the ease of exploitation by contributors, the vulnerability represents a moderate but actionable risk to website security and user trust.
Mitigation Recommendations
To mitigate CVE-2025-11803, organizations should first monitor for updates or patches released by the WPSite Shortcode plugin developers and apply them promptly once available. Until official patches are released, administrators should restrict contributor-level access to trusted users only, minimizing the risk of malicious shortcode attribute injection. Implementing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious shortcode attribute patterns can provide interim protection. Site administrators can also sanitize and validate shortcode inputs manually by customizing plugin code or using security plugins that enforce stricter input validation. Regularly auditing contributor activity and scanning site content for injected scripts or unusual shortcode usage is recommended. Additionally, educating contributors about secure content practices and limiting the use of shortcodes that accept user input can reduce exposure. Employing Content Security Policy (CSP) headers to restrict script execution sources can mitigate the impact of injected scripts. Finally, maintaining up-to-date backups ensures recovery capability if exploitation occurs.
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: 2/27/2026, 7:22:35 PM
Last updated: 3/25/2026, 4:44:41 AM
Views: 41
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.