CVE-2021-24814
JSON

9.6critical

WordPress GDPR & CCPA < 1.9.26 - Authenticated Reflected Cross-Site Scripting

Severity
9.6critical CVSS:3.1 by NVD
Exploit likelihood
2.12% (higher than 82% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
WPScan

Description

The check_privacy_settings AJAX action of the WordPress GDPR WordPress plugin before 1.9.26, available to both unauthenticated and authenticated users, responds with JSON data without an "application/json" content-type. Since an HTML payload isn't properly escaped, it may be interpreted by a web browser led to this endpoint. Javascript code may be executed on a victim's browser. If the victim is an administrator with a valid session cookie, full control of the WordPress instance may be taken (AJAX calls and iframe manipulation are possible because the vulnerable endpoint is on the same domain as the admin panel - there is no same-origin restriction).

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
welaunch wordpress_gdpr&ccpaup to 1.9.26NVD

All scores

NVD9.6critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD6.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

The check_privacy_settings AJAX action of the WordPress GDPR WordPress plugin before 1.9.26, available to both unauthenticated and authenticated users, responds with JSON data without an "application/json" content-type. Since an HTML payload isn't properly escaped, it may be interpreted by a web browser led to this endpoint. Javascript code may be executed on a victim's browser. If the victim is an administrator with a valid session cookie, full control of the WordPress instance may be taken (AJAX calls and iframe manipulation are possible because the vulnerable endpoint is on the same domain as the admin panel - there is no same-origin restriction).

NVD (es)

La acción AJAX check_privacy_settings del plugin GDPR de WordPress versiones anteriores a 1.9.26, disponible tanto para usuarios no autenticados como autenticados, responde con datos JSON sin un tipo de contenido "application/json". Dado que la carga útil HTML no es escapada correctamente, puede ser interpretada por un navegador web que conlleve a este endpoint. El código Javascript puede ser ejecutado en el navegador de la víctima. Si la víctima es un administrador con una cookie de sesión válida, puede tomar el control total de la instancia de WordPress (las llamadas AJAX y la manipulación de iframes son posibles porque el endpoint vulnerable está en el mismo dominio que el panel de administración - no se presenta restricción del mismo origen)

References

Sources

SourceRecordLicence
CVE ListCVE-2021-24814 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-24814 changed 2026-06-17Public domain