Hu-manity Cookie Notice & Compliance for GDPR / CCPA
cpe:2.3:a:hu-manity:cookie_notice_&_compliance_for_gdpr_/_ccpa:*:*:*:*:wordpress:*:*
- <= 2.5.8
A stored cross-site scripting vulnerability has been identified in the Cookie Notice & Compliance for GDPR/CCPA plugin for WordPress, affecting all versions through 2.5.8. The vulnerability arises from inadequate input sanitization and output escaping of user-supplied attributes in the 'cookies_accepted' shortcode. This flaw allows authenticated attackers with contributor-level access or higher to inject arbitrary web scripts into pages, which are executed when users access the compromised page.
Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.
To reproduce this vulnerability, an authenticated user with contributor-level access or higher can use the 'cookies_accepted' shortcode to inject scripts. The lack of proper sanitization and escaping on the shortcode's attributes enables the injection of malicious scripts that will be executed when the page is viewed.
Users are advised to update the Cookie Notice & Compliance for GDPR/CCPA plugin to version 2.5.9 or a newer patched version.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.