CVE-2024-6158

Public Exploit
Category Posts Widget (Free < 4.9.17, Pro < 4.9.13) - Admin+ Stored XSS

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)

Category

4.8
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.02%
Third-Party Advisory wpscan.com
Affected: Unknown Category Posts Widget
Affected: Unknown term-and-category-based-posts-widget
Published at:
Updated at:

References

Link Tags
https://wpscan.com/vulnerability/8adb219f-f0a6-4e87-8626-db26e300c220/ exploit vdb entry technical description third party advisory

Frequently Asked Questions

What is the severity of CVE-2024-6158?
CVE-2024-6158 has been scored as a medium severity vulnerability.
How to fix CVE-2024-6158?
To fix CVE-2024-6158, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2024-6158 being actively exploited in the wild?
It is possible that CVE-2024-6158 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-6158?
CVE-2024-6158 affects Unknown Category Posts Widget, Unknown term-and-category-based-posts-widget.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.