Skip to main content
Vulnerability Database/CVE-2026-112199

CVE-2026-112199: YITH WooCommerce Wishlist XSS Vulnerability

CVE-2026-112199 is a stored cross-site scripting flaw in YITH WooCommerce Wishlist plugin that enables attackers to inject malicious scripts into web pages. This article covers technical details, affected versions, and mitigation.

Published:

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-2026-112199 Overview

CVE-2026-112199 is a stored Cross-Site Scripting (XSS) vulnerability affecting the YITH WooCommerce Wishlist plugin for WordPress. The flaw stems from improper neutralization of user-supplied input during web page generation [CWE-79]. Attackers with low-privilege authenticated access can inject persistent JavaScript payloads that execute in the browsers of other users who view affected pages. The vulnerability impacts all plugin versions up to and including 4.18.1. Successful exploitation can lead to session theft, account takeover of higher-privileged users, redirection to malicious sites, and defacement of store content.

Critical Impact

Stored XSS enables an authenticated attacker to execute arbitrary JavaScript in victim browsers, with scope change affecting administrators and shoppers of the WooCommerce store.

Affected Products

  • YITH WooCommerce Wishlist plugin for WordPress
  • All versions from initial release through 4.18.1
  • WordPress sites running WooCommerce with the wishlist plugin enabled

Discovery Timeline

  • 2026-10-19 - CVE-2026-112199 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112199

Vulnerability Analysis

The YITH WooCommerce Wishlist plugin fails to properly sanitize or encode user-supplied input before rendering it within generated web pages. An authenticated attacker with low privileges can submit crafted input containing JavaScript payloads through wishlist-related fields. The payload persists in the WordPress database and executes when another user, including administrators, loads a page that renders the stored data.

The scope change indicates the injected script executes in a security context different from the vulnerable component, broadening the blast radius beyond the plugin itself. User interaction is required, meaning a victim must view the affected page for the payload to trigger. The confidentiality, integrity, and availability impacts remain limited to what browser-executed JavaScript can achieve within the WordPress session context.

Root Cause

The root cause is missing output encoding and insufficient input validation on wishlist data fields. The plugin stores attacker-controlled strings and echoes them into HTML templates without applying context-appropriate escaping functions such as esc_html(), esc_attr(), or wp_kses(). This allows raw <script> tags or event-handler attributes to survive into the rendered DOM.

Attack Vector

Exploitation requires network access to the WordPress site and an authenticated account with permissions to interact with wishlist features. The attacker submits a payload through a vulnerable input field, typically a wishlist name, metadata field, or sharing parameter. The payload is persisted and later rendered to any user who views the wishlist. Victims who load the page execute the injected script in their browser session, enabling cookie theft, CSRF-based privilege escalation, or redirection to attacker-controlled infrastructure.

See the Patchstack XSS Vulnerability Advisory for additional technical details.

Detection Methods for CVE-2026-112199

Indicators of Compromise

  • Wishlist records containing HTML tags such as <script>, <img onerror=>, or <svg onload=> in name, title, or metadata columns
  • Outbound requests from administrator browsers to unfamiliar domains shortly after loading wishlist pages
  • Unexpected administrative account changes, new user creation, or plugin installations following wishlist page visits
  • Web server logs showing POST requests to wishlist endpoints containing URL-encoded <script> or javascript: strings

Detection Strategies

  • Query the WordPress database for wishlist tables and search for stored values containing HTML or JavaScript syntax
  • Deploy a Web Application Firewall (WAF) rule to inspect requests to yith-woocommerce-wishlist endpoints for script injection patterns
  • Monitor WordPress audit logs for low-privilege users creating or modifying wishlist entries with unusually long payloads

Monitoring Recommendations

  • Enable Content Security Policy (CSP) reporting to capture script execution attempts from unexpected origins
  • Alert on administrator sessions that generate outbound HTTP requests immediately after accessing wishlist URLs
  • Correlate WordPress REST API activity with user role to identify low-privilege accounts targeting wishlist endpoints

How to Mitigate CVE-2026-112199

Immediate Actions Required

  • Update the YITH WooCommerce Wishlist plugin to a patched version released after 4.18.1 as soon as the vendor publishes a fix
  • Audit existing wishlist records in the WordPress database and remove any entries containing HTML tags or JavaScript syntax
  • Review administrator and shop manager accounts for unauthorized changes made after the vulnerability window opened
  • Rotate administrator session cookies and reset passwords for high-privilege WordPress accounts

Patch Information

At the time of CVE publication, the advisory identifies all versions through 4.18.1 as affected. Monitor the vendor advisory via Patchstack and the WordPress plugin repository for the fixed release. Apply the patch across staging and production WordPress instances once available.

Workarounds

  • Disable the YITH WooCommerce Wishlist plugin until a patched version is available if the feature is non-essential
  • Restrict wishlist feature access to trusted authenticated users through WordPress role management
  • Deploy a WAF rule to strip or block HTML tags in POST parameters targeting wishlist endpoints
  • Implement a strict Content Security Policy that disallows inline scripts and limits script sources to trusted origins
bash
# Example WAF rule concept to block script tags in wishlist requests
SecRule REQUEST_URI "@contains yith-woocommerce-wishlist" \
  "chain,deny,status:403,id:1012199,msg:'Blocked potential XSS in wishlist plugin'"
SecRule ARGS "@rx (?i)(<script|onerror=|onload=|javascript:)" "t:urlDecodeUni"

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.