CVE-2025-11799: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in rustaurius Affiliate AI Lite
The Affiliate AI Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'asin' shortcode attribute in the affiai_img shortcode in all versions up to, and including, 1.0.1. This is due to insufficient input sanitization and output escaping. 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-11799 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Affiliate AI Lite plugin for WordPress, specifically affecting all versions up to and including 1.0.1. The vulnerability stems from improper neutralization of input during web page generation (CWE-79), where the 'asin' attribute in the affiai_img shortcode is not adequately sanitized or escaped before rendering. This flaw allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into WordPress pages. Because the malicious script is stored persistently, it executes whenever any user accesses the infected page, potentially compromising user sessions, stealing cookies, or manipulating page content. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity), reflecting network attack vector, low attack complexity, and privileges required but no user interaction. The scope is changed (S:C), indicating that exploitation can affect resources beyond the vulnerable component. Although no public exploits are currently known, the risk is significant due to the widespread use of WordPress and the plugin in question. The vulnerability requires contributor-level access, which is a moderate barrier but still feasible in many environments, especially those with multiple content editors. The lack of patch links suggests that a fix may not yet be available, increasing the urgency for mitigation. The vulnerability primarily impacts confidentiality and integrity, with no direct availability impact. The technical root cause is insufficient input validation and output encoding in the plugin's shortcode processing logic, a common vector for stored XSS in WordPress plugins.
Potential Impact
For European organizations, this vulnerability poses a moderate risk, particularly for those relying on WordPress sites with the Affiliate AI Lite plugin installed. Attackers with contributor-level access can exploit this flaw to inject malicious scripts that execute in the context of site visitors, potentially leading to session hijacking, credential theft, defacement, or unauthorized actions performed on behalf of users. This can erode user trust, damage brand reputation, and lead to regulatory compliance issues under GDPR if personal data is compromised. E-commerce sites and content-heavy platforms are especially vulnerable to exploitation that could impact customer data confidentiality and integrity. The requirement for authenticated access reduces the risk from external anonymous attackers but does not eliminate it, as insider threats or compromised contributor accounts can be leveraged. The absence of known exploits in the wild suggests limited current exploitation but also indicates a window of opportunity for attackers before patches are widely deployed. The medium severity rating aligns with the potential for targeted attacks rather than widespread automated exploitation. Organizations with high traffic or sensitive user data should consider this vulnerability a priority to address.
Mitigation Recommendations
1. Immediately review and restrict contributor-level access on WordPress sites to trusted users only, minimizing the risk of insider exploitation. 2. Monitor and audit user activity logs for unusual shortcode usage or content changes that could indicate attempted exploitation. 3. Implement Web Application Firewall (WAF) rules to detect and block suspicious input patterns targeting the 'asin' shortcode attribute. 4. Apply strict input validation and output encoding in custom shortcode implementations if the plugin is customized or extended. 5. If a patch becomes available from the vendor, prioritize its deployment across all affected systems. 6. Consider temporarily disabling or replacing the Affiliate AI Lite plugin until a secure version is released. 7. Educate content contributors about the risks of injecting untrusted content and enforce secure content creation policies. 8. Regularly scan WordPress installations with security plugins that can detect stored XSS and other vulnerabilities. 9. Back up website data frequently to enable quick recovery in case of compromise. 10. Engage in proactive threat hunting for signs of exploitation attempts within the network and website logs.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland, Sweden
CVE-2025-11799: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in rustaurius Affiliate AI Lite
Description
The Affiliate AI Lite plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'asin' shortcode attribute in the affiai_img shortcode in all versions up to, and including, 1.0.1. This is due to insufficient input sanitization and output escaping. 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
Technical Analysis
CVE-2025-11799 is a stored Cross-Site Scripting (XSS) vulnerability identified in the Affiliate AI Lite plugin for WordPress, specifically affecting all versions up to and including 1.0.1. The vulnerability stems from improper neutralization of input during web page generation (CWE-79), where the 'asin' attribute in the affiai_img shortcode is not adequately sanitized or escaped before rendering. This flaw allows authenticated users with contributor-level permissions or higher to inject arbitrary JavaScript code into WordPress pages. Because the malicious script is stored persistently, it executes whenever any user accesses the infected page, potentially compromising user sessions, stealing cookies, or manipulating page content. The vulnerability has a CVSS 3.1 base score of 6.4 (medium severity), reflecting network attack vector, low attack complexity, and privileges required but no user interaction. The scope is changed (S:C), indicating that exploitation can affect resources beyond the vulnerable component. Although no public exploits are currently known, the risk is significant due to the widespread use of WordPress and the plugin in question. The vulnerability requires contributor-level access, which is a moderate barrier but still feasible in many environments, especially those with multiple content editors. The lack of patch links suggests that a fix may not yet be available, increasing the urgency for mitigation. The vulnerability primarily impacts confidentiality and integrity, with no direct availability impact. The technical root cause is insufficient input validation and output encoding in the plugin's shortcode processing logic, a common vector for stored XSS in WordPress plugins.
Potential Impact
For European organizations, this vulnerability poses a moderate risk, particularly for those relying on WordPress sites with the Affiliate AI Lite plugin installed. Attackers with contributor-level access can exploit this flaw to inject malicious scripts that execute in the context of site visitors, potentially leading to session hijacking, credential theft, defacement, or unauthorized actions performed on behalf of users. This can erode user trust, damage brand reputation, and lead to regulatory compliance issues under GDPR if personal data is compromised. E-commerce sites and content-heavy platforms are especially vulnerable to exploitation that could impact customer data confidentiality and integrity. The requirement for authenticated access reduces the risk from external anonymous attackers but does not eliminate it, as insider threats or compromised contributor accounts can be leveraged. The absence of known exploits in the wild suggests limited current exploitation but also indicates a window of opportunity for attackers before patches are widely deployed. The medium severity rating aligns with the potential for targeted attacks rather than widespread automated exploitation. Organizations with high traffic or sensitive user data should consider this vulnerability a priority to address.
Mitigation Recommendations
1. Immediately review and restrict contributor-level access on WordPress sites to trusted users only, minimizing the risk of insider exploitation. 2. Monitor and audit user activity logs for unusual shortcode usage or content changes that could indicate attempted exploitation. 3. Implement Web Application Firewall (WAF) rules to detect and block suspicious input patterns targeting the 'asin' shortcode attribute. 4. Apply strict input validation and output encoding in custom shortcode implementations if the plugin is customized or extended. 5. If a patch becomes available from the vendor, prioritize its deployment across all affected systems. 6. Consider temporarily disabling or replacing the Affiliate AI Lite plugin until a secure version is released. 7. Educate content contributors about the risks of injecting untrusted content and enforce secure content creation policies. 8. Regularly scan WordPress installations with security plugins that can detect stored XSS and other vulnerabilities. 9. Back up website data frequently to enable quick recovery in case of compromise. 10. Engage in proactive threat hunting for signs of exploitation attempts within the network and website logs.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-10-15T14:24:22.058Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 69202359cf2d47c38997b482
Added to database: 11/21/2025, 8:31:21 AM
Last enriched: 11/21/2025, 8:43:26 AM
Last updated: 11/22/2025, 1:47:39 AM
Views: 5
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.
Related Threats
CVE-2025-65947: CWE-400: Uncontrolled Resource Consumption in jzeuzs thread-amount
HighCVE-2025-65946: CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') in RooCodeInc Roo-Code
HighCVE-2025-12678
UnknownCVE-2025-11933: CWE-20 Improper Input Validation in wofSSL wolfSSL
LowCVE-2025-65111: CWE-277: Insecure Inherited Permissions in authzed spicedb
LowActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.