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.
Severity (CVSS)
| Base score | 4.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
| Vendor | Product | Versions |
|---|---|---|
| moomooagency | Product Options and Price Calculation Formulas for WooCommerce – Uni CPO | 0 to <=4.9.69 [affected] |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/f5f6d214-b716-4b2a-bf28-b9449d9c1129?source=cve
- https://plugins.trac.wordpress.org/browser/uni-woo-custom-product-options/tags/4.9.69/includes/class-uni-cpo-ajax.php#L330
- https://plugins.trac.wordpress.org/browser/uni-woo-custom-product-options/tags/4.9.69/includes/class-uni-cpo-product.php#L239
- https://plugins.trac.wordpress.org/browser/uni-woo-custom-product-options/tags/4.9.69/includes/uni-cpo-formatting-functions.php#L404
- https://plugins.trac.wordpress.org/browser/uni-woo-custom-product-options/tags/4.9.69/includes/class-uni-cpo-product.php#L1080
- https://wordpress.org/plugins/uni-woo-custom-product-options/
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 27 Nov 2026 08:01 UTC.