CVE-2026-116771

Product Options and Price Calculation Formulas for WooCommerce <= 4.9.69 - Authenticated (Shop Manager+) Stored Cross-Site Scripting via 'price_disabled_msg' Setting

Published Nov 27, 2026 CVSS 3.1 · 4.4 Medium EPSS n/a KEV · Not listed
Description
The Product Options and Price Calculation Formulas for WooCommerce – Uni CPO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'price_disabled_msg' setting in versions up to, and including, 4.9.69 The uni_cpo_save_settings_data() AJAX handler applies html_entity_decode() to the output of uni_cpo_sanitize_text(), which itself already runs html_entity_decode() before wp_kses(); this double decode allows a double-entity-encoded tag to pass wp_kses as inert text and then be re-materialised as live HTML before being stored in the _cpo_price_disabled_msg post meta and later echoed via do_shortcode() on the single-product page without further escaping. This makes it possible for authenticated attackers, with Shop Manager-level access (edit_products) and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected product page.

Analysis

AI-generated

Technical impact

The Uni CPO plugin for WooCommerce contains a vulnerability that allows an authenticated user with Shop Manager or higher privileges to inject arbitrary scripts into product pages. The flaw arises from a double HTML entity decoding step that bypasses WordPress’ sanitization, enabling malicious code to be stored in the "price_disabled_msg" field and later rendered as executable JavaScript. This grants an attacker the ability to execute scripts in the context of any visitor to the affected product page, which can lead to session hijacking, defacement, or the delivery of additional payloads. The vulnerability is a classic stored XSS flaw (CWE‑79) and can compromise confidentiality, integrity, and availability for site visitors.

Affected Systems

WooCommerce – Uni CPO plugin for WordPress, versions up to and including 4.9.69. Users with edit_products capability (Shop Manager and above) can reach the vulnerable setting.

Risk and Exploitability

The CVSS score of 4.4 indicates a medium severity risk. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting that it has not yet been widely exploited in the wild. However, exploitation requires authenticated access with sufficient permissions, which is a significant prerequisite. If an attacker can elevate privileges or compromise an account with Shop Manager rights, the stored XSS could be leveraged to compromise site visitors without further user interaction.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Uni CPO plugin to the latest patched version that removes the double decoding and sanitizing flaw.
  • If an update is not immediately possible, remove or replace the "price_disabled_msg" field content with plaintext only, avoiding any HTML tags, or disable the feature completely.
  • Review user roles and limit the ability to edit product options to only trusted personnel; consider removing the edit_products capability from the Shop Manager role if not essential for business operations.

Generated by OpenCVE AI on November 27, 2026 at 04:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description The Product Options and Price Calculation Formulas for WooCommerce – Uni CPO plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'price_disabled_msg' setting in versions up to, and including, 4.9.69 The uni_cpo_save_settings_data() AJAX handler applies html_entity_decode() to the output of uni_cpo_sanitize_text(), which itself already runs html_entity_decode() before wp_kses(); this double decode allows a double-entity-encoded tag to pass wp_kses as inert text and then be re-materialised as live HTML before being stored in the _cpo_price_disabled_msg post meta and later echoed via do_shortcode() on the single-product page without further escaping. This makes it possible for authenticated attackers, with Shop Manager-level access (edit_products) and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected product page.
Title Product Options and Price Calculation Formulas for WooCommerce <= 4.9.69 - Authenticated (Shop Manager+) Stored Cross-Site Scripting via 'price_disabled_msg' Setting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Nov 27, 2026, 3:33 AM
Reserved
Oct 26, 2026, 9:45 PM
Status
Deferred
Published
Nov 27, 2026, 4:16 AM
Modified
Nov 27, 2026, 4:16 AM