{"id":"CVE-2024-6158","aliases":["CVE-2024-6158"],"related":[],"kind":"vulnerability","state":"published","title":"Category Posts Widget (Free < 4.9.17, Pro < 4.9.13) - Admin+ Stored XSS","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)","source":"cvelist"},{"lang":"es","text":"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).","source":"nvd"}],"published":"2024-08-09T06:00:04.497Z","modified":"2026-06-17T08:17:24.213Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.9.17","status":"affected"}],"vendor":"Unknown","product":"Category Posts Widget","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","fixed":"4.9.13","status":"affected"}],"vendor":"Unknown","product":"term-and-category-based-posts-widget","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"4.9.17","status":"affected"}],"vendor":"tiptoppress","product":"category_posts","cpe":"cpe:2.3:a:tiptoppress:category_posts:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"4.9.13","status":"affected"}],"vendor":"tiptoppress","product":"term-and-category-based-posts","cpe":"cpe:2.3:a:tiptoppress:term-and-category-based-posts:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.9.13"}],"vendor":"tiptoppress","product":"term_and_category_based_posts_widget","cpe":"cpe:2.3:a:tiptoppress:term_and_category_based_posts_widget:*:*:*:*:*:wordpress:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"4.9.17"}],"vendor":"zephyrwest","product":"category_posts_widget","cpe":"cpe:2.3:a:zephyrwest:category_posts_widget:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/8adb219f-f0a6-4e87-8626-db26e300c220/","tags":["exploit","technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]}],"credits":["Dmitrii Ignatyev","WPScan"],"assigner":"WPScan","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-08-13T14:18:52.873Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6158","url":"https://www.cve.org/CVERecord?id=CVE-2024-6158","licence":"CVE Terms of Use","modified":"2024-08-13T14:25:37.044Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6158","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6158","licence":"Public domain","modified":"2026-06-17T08:17:24.213Z"}],"updatedAt":"2026-11-25T22:58:44.185Z","epss":{"score":0.0044,"percentile":0.40031,"date":"2026-12-01T12:00:22.000Z"}}