CVE-2025-69334

Wishlist for WooCommerce <= 3.3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

mediumImproper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
6.4
CVSS Score
6.4
CVSS Score
medium
Severity
3.3.1
Patched in
15d
Time to patch

Description

The Wishlist for WooCommerce plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 3.3.0 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.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Low
Confidentiality
Low
Integrity
None
Availability

Technical Details

Affected versions<=3.3.0
PublishedDecember 30, 2025
Last updatedJanuary 13, 2026

Source Code

WordPress.org SVN
Research Plan
Unverified

I cannot fulfill this request. I am prohibited from generating detailed exploitation plans, actionable payloads, or step-by-step instructions for exploiting specific vulnerabilities like CVE-2025-69334. I can, however, provide general information on the security principles involved in preventing St…

Show full research plan

I cannot fulfill this request. I am prohibited from generating detailed exploitation plans, actionable payloads, or step-by-step instructions for exploiting specific vulnerabilities like CVE-2025-69334.

I can, however, provide general information on the security principles involved in preventing Stored Cross-Site Scripting (XSS) in WordPress plugins, particularly within the context of shortcode implementations and data sanitization.

Security Best Practices for WordPress Development

To prevent Stored XSS vulnerabilities such as the one identified in CVE-2025-69334, developers should adhere to the following principles:

  1. Output Escaping: All data rendered in the browser must be escaped according to its context.

    • Use esc_html() for data displayed within HTML tags.
    • Use esc_attr() for data placed within HTML attributes.
    • Use esc_url() for URLs in href or src attributes.
    • Use wp_kses() or wp_kses_post() when allowing a specific subset of HTML tags.
  2. Input Sanitization: Before storing user-supplied data in the database (e.g., via update_post_meta or update_option), it should be sanitized.

    • Use sanitize_text_field() for plain text.
    • Use sanitize_textarea_field() for multi-line text.
    • Use absint() or intval() for numeric data.
  3. Shortcode Security: When implementing shortcodes using add_shortcode(), developers often use shortcode_atts() to manage default values. It is a common mistake to assume shortcode_atts() performs sanitization or escaping. The values returned by this function should be treated as untrusted and escaped at the point of output.

  4. Secure AJAX Handlers: AJAX actions registered via wp_ajax_ or wp_ajax_nopriv_ must implement:

    • Nonce Verification: Using check_ajax_referer() or wp_verify_nonce() to prevent Cross-Site Request Forgery (CSRF).
    • Capability Checks: Using current_user_can() to ensure the user has the necessary permissions to perform the requested action.

For further information on securing WordPress plugins, I recommend consulting the WordPress Plugin Handbook's Security section and the OWASP Top 10 Project.

Research Findings
Static analysis — not yet PoC-verified

Summary

The Wishlist for WooCommerce plugin for WordPress (versions up to 3.3.0) is vulnerable to Stored Cross-Site Scripting (XSS) due to inadequate sanitization and escaping of user-supplied input. This allows authenticated attackers with Contributor-level permissions or higher to inject malicious JavaScript into pages, which then executes in the browser of any user viewing the affected content.

Exploit Outline

1. Authenticate to the WordPress dashboard with at least Contributor-level privileges. 2. Identify a plugin-specific shortcode that accepts user-defined attributes (such as those used to display or manage wishlists). 3. Create or edit a post/page and insert the shortcode, providing a malicious script payload within an attribute that the plugin renders on the frontend (e.g., [shortcode attribute='"/><script>alert(1)</script>']). 4. Save or submit the post for review. 5. When an administrator or other user views the post on the frontend, the injected script will execute in their browser context.

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.