6.5medium
WP Cookie Choice <= 1.1.0 - CSRF to Stored Cross-Site Scripting
- Severity
- 6.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
Description
The Wp Cookie Choice WordPress plugin through 1.1.0 is lacking any CSRF check when saving its options, and do not escape them when outputting them in attributes. As a result, an attacker could make a logged in admin change them to arbitrary values including XSS payloads via a CSRF attack.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Wp Cookie Choice | from 1.1.0 up to 1.1.0 | CVE List |
| wp_cookie_choice_project wp_cookie_choice | up to 1.1.0 | NVD |
All scores
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
The Wp Cookie Choice WordPress plugin through 1.1.0 is lacking any CSRF check when saving its options, and do not escape them when outputting them in attributes. As a result, an attacker could make a logged in admin change them to arbitrary values including XSS payloads via a CSRF attack.
NVD (es)
El plugin Wp Cookie Choice de WordPress versiones hasta 1.1.0, carece de cualquier comprobación de tipo CSRF cuando guarda sus opciones, y no las escapa cuando las muestra en los atributos. Como resultado, un atacante podría hacer que un administrador conectado las cambie por valores arbitrarios incluyendo cargas útiles de tipo XSS por medio de un ataque de tipo CSRF
References
| https://wpscan.com/vulnerability/c809bdb3-d820-4ce1-9cbc-e41985fb5052 | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-24595 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-24595 changed 2026-06-17 | Public domain |