4.8medium
Category Posts Widget (Free < 4.9.17, Pro < 4.9.13) - Admin+ Stored XSS
- Severity
- 4.8medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.44% (higher than 40% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- WPScan
Description
The Category Posts Widget WordPress plugin before 4.9.17, term-and-category-based-posts-widget WordPress plugin before 4.9.13 does not validate and escape some of its "Category Posts" widget settings before outputting them back in a page/post where the Widget is embed, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unknown Category Posts Widget | before 4.9.17 | CVE List |
| Unknown term-and-category-based-posts-widget | before 4.9.13 | CVE List |
| tiptoppress category_posts | before 4.9.17 | CVE List |
| tiptoppress term-and-category-based-posts | before 4.9.13 | CVE List |
| tiptoppress term_and_category_based_posts_widget | before 4.9.13 | NVD |
| zephyrwest category_posts_widget | before 4.9.17 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
The Category Posts Widget WordPress plugin before 4.9.17, term-and-category-based-posts-widget WordPress plugin before 4.9.13 does not validate and escape some of its "Category Posts" widget settings before outputting them back in a page/post where the Widget is embed, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup)
NVD (es)
El complemento Category Posts Widget de WordPress anterior a 4.9.17, el complemento term-and-category-based-posts-widget de WordPress anterior a 4.9.13 no valida ni escapa algunas de las configuraciones del widget de "Publicaciones de categoría" antes de devolverlas a una página/ publicar donde está incrustado el widget, lo que podría permitir a usuarios con privilegios elevados, como el administrador, realizar ataques de Cross-Site Scripting Almacenado incluso cuando la capacidad unfiltered_html no está permitida (por ejemplo, en una configuración multisitio).
References
| https://wpscan.com/vulnerability/8adb219f-f0a6-4e87-8626-db26e300c220/ | exploit, technical-description, third-party-advisory, vdb-entry | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-6158 changed 2024-08-13 | CVE Terms of Use |
| NVD | CVE-2024-6158 changed 2026-06-17 | Public domain |