CVE-2024-6158
JSON

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 packageVersionsReported by
Unknown Category Posts Widgetbefore 4.9.17CVE List
Unknown term-and-category-based-posts-widgetbefore 4.9.13CVE List
tiptoppress category_postsbefore 4.9.17CVE List
tiptoppress term-and-category-based-postsbefore 4.9.13CVE List
tiptoppress term_and_category_based_posts_widgetbefore 4.9.13NVD
zephyrwest category_posts_widgetbefore 4.9.17NVD

Classification

CWE-79

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

SourceRecordLicence
CVE ListCVE-2024-6158 changed 2024-08-13CVE Terms of Use
NVDCVE-2024-6158 changed 2026-06-17Public domain