CVE-2026-125932
The Coupon Creator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'metavalue (with metakeyinput=cctor_expiration)' parameter in all …
Impact
The Coupon Creator plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'metavalue (with metakeyinput=cctor_expiration)' parameter in all versions up to, and including, 3.6.5 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. The exploit is possible because the cctor_coupon post type advertises 'custom-fields' support, enabling WordPress core's Custom Fields metabox for Contributors, and the unregistered cctor_expiration meta key causes sanitize_meta() to be a no-op, allowing raw HTML to be stored verbatim in the database via a single AJAX request.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read, low risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected products · Brianjessee
| Product | Affected versions |
|---|---|
| Coupon Creator | through 3.6.5 Version 0 ≤3.6.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b2da5fb9-6225-4b8b-9040-e083dfd597f9?source=cve
- https://plugins.trac.wordpress.org/browser/coupon-creator/tags/3.6.5/src/Cctor/Admin/Columns.php#L226
- https://plugins.trac.wordpress.org/browser/coupon-creator/tags/3.6.5/src/Cctor/Expiration.php#L227
- https://plugins.trac.wordpress.org/browser/coupon-creator/tags/3.6.5/src/Cctor/Expiration.php#L102
- https://plugins.trac.wordpress.org/browser/coupon-creator/tags/3.6.5/plugin-engine/src/Pngx/Editor.php#L75
- https://plugins.trac.wordpress.org/browser/coupon-creator/tags/3.6.5/plugin-engine/src/Pngx/Add_Capabilities.php#L98
- https://plugins.trac.wordpress.org/browser/coupon-creator/tags/3.6.6
- https://github.com/advisories/GHSA-x2w7-9997-984v
- https://nvd.nist.gov/vuln/detail/CVE-2026-125932