CVE-2025-4670: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub Easy Digital Downloads – eCommerce Payments and Subscriptions made easy
The Easy Digital Downloads – eCommerce Payments and Subscriptions made easy plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's edd_receipt shortcode in all versions up to, and including, 3.3.8.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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-4670 is a stored Cross-Site Scripting (XSS) vulnerability identified in the WordPress plugin 'Easy Digital Downloads – eCommerce Payments and Subscriptions made easy' developed by smub. This vulnerability affects all versions up to and including 3.3.8.1. The root cause is insufficient input sanitization and output escaping on user-supplied attributes within the plugin's edd_receipt shortcode. Specifically, authenticated users with contributor-level access or higher can inject arbitrary malicious scripts into pages generated by this shortcode. When other users access these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions performed on behalf of the victim. The vulnerability is classified under CWE-79, which pertains to improper neutralization of input during web page generation. The CVSS v3.1 base score is 6.4, indicating a medium severity level, with attack vector being network (remote), low attack complexity, requiring privileges (contributor or above), no user interaction needed, and impacting confidentiality and integrity but not availability. No known exploits are currently reported in the wild, and no official patches or updates have been linked yet. This vulnerability is particularly critical for websites using this plugin to manage e-commerce payments and subscriptions, as exploitation could compromise customer data and site integrity.
Potential Impact
For European organizations, this vulnerability poses a significant risk especially for small to medium-sized enterprises (SMEs) and e-commerce businesses relying on WordPress with the Easy Digital Downloads plugin. Exploitation could lead to unauthorized script execution, enabling attackers to steal sensitive customer information such as payment details, session cookies, or personal data, violating GDPR requirements and potentially resulting in regulatory penalties. Additionally, attackers could manipulate transaction data or perform fraudulent activities under the guise of legitimate users, damaging business reputation and customer trust. Since the vulnerability requires contributor-level access, insider threats or compromised accounts could be leveraged to initiate attacks. The stored nature of the XSS means that multiple users can be affected over time, increasing the scope of impact. Given the widespread use of WordPress in Europe and the popularity of e-commerce platforms, the threat could affect a broad range of sectors including retail, digital services, and subscription-based businesses.
Mitigation Recommendations
1. Immediate mitigation involves restricting contributor-level access strictly to trusted users and reviewing user permissions to minimize the risk of malicious input. 2. Administrators should monitor and audit content submitted via the edd_receipt shortcode for suspicious scripts or anomalies. 3. Implement Web Application Firewalls (WAFs) with rules designed to detect and block XSS payloads targeting this plugin's shortcode parameters. 4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5. Regularly update the plugin once the vendor releases a patch addressing this vulnerability. 6. In the interim, consider disabling or removing the edd_receipt shortcode functionality if feasible, or sanitize inputs manually through custom code. 7. Educate content contributors about safe input practices and the risks of injecting scripts. 8. Conduct thorough security assessments and penetration testing focused on WordPress plugins and user-generated content to identify similar weaknesses.
Affected Countries
Germany, United Kingdom, France, Italy, Spain, Netherlands, Poland, Sweden
CVE-2025-4670: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub Easy Digital Downloads – eCommerce Payments and Subscriptions made easy
Description
The Easy Digital Downloads – eCommerce Payments and Subscriptions made easy plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's edd_receipt shortcode in all versions up to, and including, 3.3.8.1 due to insufficient input sanitization and output escaping on user supplied attributes. 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-4670 is a stored Cross-Site Scripting (XSS) vulnerability identified in the WordPress plugin 'Easy Digital Downloads – eCommerce Payments and Subscriptions made easy' developed by smub. This vulnerability affects all versions up to and including 3.3.8.1. The root cause is insufficient input sanitization and output escaping on user-supplied attributes within the plugin's edd_receipt shortcode. Specifically, authenticated users with contributor-level access or higher can inject arbitrary malicious scripts into pages generated by this shortcode. When other users access these pages, the injected scripts execute in their browsers, potentially leading to session hijacking, privilege escalation, or unauthorized actions performed on behalf of the victim. The vulnerability is classified under CWE-79, which pertains to improper neutralization of input during web page generation. The CVSS v3.1 base score is 6.4, indicating a medium severity level, with attack vector being network (remote), low attack complexity, requiring privileges (contributor or above), no user interaction needed, and impacting confidentiality and integrity but not availability. No known exploits are currently reported in the wild, and no official patches or updates have been linked yet. This vulnerability is particularly critical for websites using this plugin to manage e-commerce payments and subscriptions, as exploitation could compromise customer data and site integrity.
Potential Impact
For European organizations, this vulnerability poses a significant risk especially for small to medium-sized enterprises (SMEs) and e-commerce businesses relying on WordPress with the Easy Digital Downloads plugin. Exploitation could lead to unauthorized script execution, enabling attackers to steal sensitive customer information such as payment details, session cookies, or personal data, violating GDPR requirements and potentially resulting in regulatory penalties. Additionally, attackers could manipulate transaction data or perform fraudulent activities under the guise of legitimate users, damaging business reputation and customer trust. Since the vulnerability requires contributor-level access, insider threats or compromised accounts could be leveraged to initiate attacks. The stored nature of the XSS means that multiple users can be affected over time, increasing the scope of impact. Given the widespread use of WordPress in Europe and the popularity of e-commerce platforms, the threat could affect a broad range of sectors including retail, digital services, and subscription-based businesses.
Mitigation Recommendations
1. Immediate mitigation involves restricting contributor-level access strictly to trusted users and reviewing user permissions to minimize the risk of malicious input. 2. Administrators should monitor and audit content submitted via the edd_receipt shortcode for suspicious scripts or anomalies. 3. Implement Web Application Firewalls (WAFs) with rules designed to detect and block XSS payloads targeting this plugin's shortcode parameters. 4. Employ Content Security Policy (CSP) headers to limit the execution of unauthorized scripts in browsers. 5. Regularly update the plugin once the vendor releases a patch addressing this vulnerability. 6. In the interim, consider disabling or removing the edd_receipt shortcode functionality if feasible, or sanitize inputs manually through custom code. 7. Educate content contributors about safe input practices and the risks of injecting scripts. 8. Conduct thorough security assessments and penetration testing focused on WordPress plugins and user-generated content to identify similar weaknesses.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-05-13T22:16:30.461Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 68381aae182aa0cae273c2c9
Added to database: 5/29/2025, 8:28:30 AM
Last enriched: 7/7/2025, 4:43:00 AM
Last updated: 7/30/2025, 4:10:53 PM
Views: 12
Related Threats
CVE-2025-8952: SQL Injection in Campcodes Online Flight Booking Management System
MediumCVE-2025-8951: SQL Injection in PHPGurukul Teachers Record Management System
MediumCVE-2025-8950: SQL Injection in Campcodes Online Recruitment Management System
MediumCVE-2025-27388: CWE-20 Improper Input Validation in OPPO OPPO HEALTH APP
HighCVE-2025-8949: Stack-based Buffer Overflow in D-Link DIR-825
HighActions
Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.