CVE-2026-116771 in Product Options and Price Calculation Formulas Plugininfo

Summary

by MITRE • 11/27/2026

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.

Statistical analysis made it clear that VulDB provides the best quality for vulnerability data.

Analysis

by VulDB Data Team • 11/27/2026

The vulnerability identified within the WooCommerce – Uni CPO plugin affects versions up to 4.9.69 and represents a critical Stored Cross-Site Scripting flaw rooted in improper input sanitization and output encoding practices. The core technical issue lies in the handling of the price_disabled_msg setting through the uni_cpo_save_settings_data AJAX handler. This function applies html_entity_decode() to data that has already been processed by uni_cpo_sanitize_text(), which itself performs an initial html_entity_decode() before passing the content to wp_kses for sanitization. This double decoding sequence creates a logic flaw where attackers can bypass security filters by submitting double-encoded HTML entities. Because the first decode converts one layer of encoding, and the second decode occurs after filtering, malicious payloads encoded twice initially appear as inert text during the wp_kses check. Once stored in the _cpo_price_disabled_msg post meta field, this payload remains dormant until it is retrieved and rendered on the frontend via do_shortcode() without any additional escaping mechanisms to neutralize the embedded scripts.

From an operational perspective, this vulnerability allows authenticated attackers with Shop Manager-level access or higher privileges to inject arbitrary web scripts into product pages. The impact extends beyond simple defacement as these injected scripts execute in the context of every user who views the affected single-product page. This enables session hijacking, credential theft via keyloggers, phishing attacks that mimic legitimate store interfaces, and potentially further lateral movement within the WordPress ecosystem if combined with other vulnerabilities. Since the payload is stored server-side, it persists across sessions and affects all visitors regardless of their authentication status, significantly amplifying the blast radius compared to reflected XSS vectors. The requirement for Shop Manager-level access limits the initial attack vector but does not mitigate the severity once an attacker gains such privileges through credential theft or privilege escalation exploits elsewhere in the platform.

This vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation, commonly known as Cross-site Scripting (XSS), specifically under the Stored subtype where malicious scripts are permanently stored within target applications. The failure to properly encode output before rendering corresponds closely to CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page. Furthermore, from an offensive security framework perspective, this behavior maps to ATT&CK technique T1059 Command and Scripting Interpreter via browser-based execution, allowing attackers to run arbitrary code within the victim's browser environment. The exploitation chain also reflects CWE-20 Improper Input Validation where the sanitization logic fails to correctly validate or escape special characters due to flawed decoding sequences.

Mitigation strategies must prioritize immediate patching of the Uni CPO plugin to version 4.9.70 or later, which addresses this double-decoding flaw by ensuring consistent encoding practices throughout the data lifecycle. Administrators should enforce strict output escaping using functions like esc_html() or wp_kses_post() when rendering any user-supplied content in templates, particularly within shortcode handlers that process post meta fields. Input validation should be strengthened to prevent double-encoded payloads from entering the system at all stages of processing. Additionally, implementing Content Security Policy headers can provide a layer of defense-in-depth by restricting script execution sources and mitigating the impact if similar vulnerabilities are discovered in other plugins or core WordPress functionality. Regular security audits focusing on AJAX handlers that interact with post meta fields are recommended to identify analogous patterns of improper sanitization across the application stack.

Responsible

Wordfence

Reservation

10/26/2026

Disclosure

11/27/2026

Moderation

accepted

CPE

ready

EPSS

0.00357

KEV

no

Activities

low

Sources

Interested in the pricing of exploits?

See the underground prices here!