CVE-2024-39310

WordPress Basil Theme Authenticated (Contributor+) Persistent Cross-Site Scripting Vulnerability

Description

The Basil recipe theme for WordPress is vulnerable to Persistent Cross-Site Scripting (XSS) via the `post_title` parameter in versions up to, and including, 2.0.4 due to insufficient input sanitization and output escaping. This vulnerability allows authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that will execute whenever a user accesses a compromised page. Because the of the default WordPress validation, it is not possible to insert the payload directly but if the Cooked plugin is installed, it is possible to create a recipe post type (cp_recipe) and inject the payload in the title field. Version 2.0.5 contains a patch for the issue.

Category

5.4
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.09%
Affected: XjSv Basil
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-39310?
CVE-2024-39310 has been scored as a medium severity vulnerability.
How to fix CVE-2024-39310?
To fix CVE-2024-39310, 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-39310 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2024-39310 is being actively exploited. 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-39310?
CVE-2024-39310 affects XjSv Basil.
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.