Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2025-48250 Overview
CVE-2025-48250 is a stored Cross-Site Scripting (XSS) vulnerability affecting the WPFactory Coupons & Add to Cart by URL Links for WooCommerce plugin (slug: url-coupons-for-woocommerce-by-algoritmika). The flaw results from improper neutralization of user-supplied input during web page generation, classified as [CWE-79]. Authenticated users with low privileges can inject malicious scripts that execute in the browsers of other users who view the affected page. The issue affects all plugin versions up to and including 1.7.7.
Critical Impact
Stored XSS allows attackers to execute arbitrary JavaScript in victims' browsers, enabling session theft, administrative action hijacking, and WooCommerce store manipulation.
Affected Products
- WPFactory Coupons & Add to Cart by URL Links for WooCommerce — versions through 1.7.7
- WordPress sites running the url-coupons-for-woocommerce-by-algoritmika plugin
- WooCommerce stores that have the vulnerable plugin installed and activated
Discovery Timeline
- 2025-05-19 - CVE-2025-48250 published to the National Vulnerability Database (NVD)
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-48250
Vulnerability Analysis
The vulnerability stems from improper input neutralization within the plugin's data handling routines. The plugin accepts input from authenticated users and stores it without applying sufficient sanitization or output encoding. When the stored data is later rendered in a web page context, injected HTML and JavaScript execute in the context of the WordPress site. This classifies as a stored XSS flaw under [CWE-79].
Attack prerequisites include network access and low-privileged authentication to the WordPress site. User interaction is required because a victim must visit the page containing the injected payload. The scope is changed, meaning the exploit can affect resources beyond the vulnerable component, including administrator sessions.
Root Cause
The root cause is the absence of proper output encoding and input sanitization in plugin fields that accept administrator- or contributor-level input. The plugin fails to apply WordPress functions such as esc_html(), esc_attr(), or wp_kses() before rendering stored data. This permits raw HTML and <script> tags to persist and execute at render time.
Attack Vector
An authenticated attacker with low privileges stores a crafted payload through a plugin interface that accepts user input, such as coupon configuration fields or URL link parameters. The payload persists in the WordPress database. When another user — commonly an administrator or shopper — loads a page where the stored value is rendered, the injected JavaScript executes in their browser session. See the Patchstack XSS Vulnerability Report for details on affected fields and reproduction context.
No verified public exploit code is available for this issue. The vulnerability manifests when stored plugin content is echoed to the page without encoding.
Detection Methods for CVE-2025-48250
Indicators of Compromise
- Presence of <script>, onerror=, onload=, or javascript: strings within plugin-managed records in the wp_posts, wp_postmeta, or plugin-specific database tables
- Unexpected outbound HTTP requests from administrator browsers to attacker-controlled domains following access to WooCommerce coupon pages
- New administrator accounts or modified user roles created shortly after an authenticated session loads a coupon page
- Browser console errors or Content Security Policy (CSP) violations originating from WooCommerce coupon or add-to-cart URL pages
Detection Strategies
- Audit the WordPress database for stored HTML or script content within fields managed by the url-coupons-for-woocommerce-by-algoritmika plugin
- Review the installed plugin version against the vulnerable range (through 1.7.7) using wp plugin list or the WordPress admin plugins screen
- Correlate web server access logs for POST requests from low-privileged users to plugin configuration endpoints followed by GET requests from administrator sessions
Monitoring Recommendations
- Enable web application firewall (WAF) logging for XSS pattern matches against WordPress admin and WooCommerce endpoints
- Monitor administrator authentication events and privileged configuration changes for anomalous timing or source IP
- Alert on new or modified plugin files, database triggers, or scheduled tasks introduced through compromised administrator sessions
How to Mitigate CVE-2025-48250
Immediate Actions Required
- Identify all WordPress instances running Coupons & Add to Cart by URL Links for WooCommerce version 1.7.7 or earlier
- Update the plugin to the latest patched version released by WPFactory immediately after the vendor publishes a fix
- Audit existing coupon and URL link records for stored script payloads and remove any malicious entries
- Rotate administrator credentials and invalidate active sessions if indicators of compromise are present
Patch Information
The vulnerability affects all versions through 1.7.7. Review the Patchstack advisory for the current patched version and apply the vendor-supplied update through the WordPress plugin update mechanism or wp plugin update url-coupons-for-woocommerce-by-algoritmika.
Workarounds
- Restrict plugin configuration access to trusted administrators only and review contributor-level accounts for necessity
- Deploy a WAF rule to block requests containing script tags or JavaScript event handlers targeting plugin endpoints
- Implement a strict Content Security Policy (CSP) that disallows inline script execution on WooCommerce pages
- Temporarily deactivate the plugin on sites where immediate patching is not feasible
# Configuration example: update the vulnerable plugin via WP-CLI
wp plugin update url-coupons-for-woocommerce-by-algoritmika
wp plugin list --name=url-coupons-for-woocommerce-by-algoritmika --fields=name,status,version
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

