CVE-2026-7640

medium

Description

The WP Customer Area plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'type' attribute of the `customer-area-protected-content` shortcode in all versions up to, and including, 8.3.5. This is due to insufficient input sanitization and output escaping on the shortcode attribute. 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.

References

https://www.wordfence.com/threat-intel/vulnerabilities/id/c6f96cec-ddcb-45b2-a28c-b4e7b6f5c719?source=cve

https://wordpress.org/plugins/customer-area

https://plugins.trac.wordpress.org/browser/customer-area/trunk/src/php/core-addons/shortcodes/shortcodes/protected-content-shortcode.class.php#L90

https://plugins.trac.wordpress.org/browser/customer-area/tags/8.3.6/src/php/core-addons/shortcodes/shortcodes/protected-content-shortcode.class.php#L88-L91

https://plugins.trac.wordpress.org/browser/customer-area/tags/8.3.4/src/php/core-addons/shortcodes/shortcodes/protected-content-shortcode.class.php#L90

Details

Source: Mitre, NVD

Published: 2026-07-14

Updated: 2026-07-14

Risk Information

CVSS v2

Base Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.4

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Severity: Medium