CVE-2023-0340

Public Exploit
Custom Content Shortcode <= 4.0.2 - Contributor+ LFI

Description

The Custom Content Shortcode WordPress plugin through 4.0.2 does not validate one of its shortcode attribute, which could allow users with a contributor role and above to include arbitrary files via a traversal attack. This could also allow them to read non PHP files and retrieve their content. RCE could also be achieved if the attacker manage to upload a malicious image containing PHP code, and then include it via the affected attribute, on a default WP install, authors could easily achieve that given that they have the upload_file capability.

8.8
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.34%
Third-Party Advisory wpscan.com
Affected: Unknown Custom Content Shortcode
Published at:
Updated at:

References

Link Tags
https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543d exploit vdb entry third party advisory technical description

Frequently Asked Questions

What is the severity of CVE-2023-0340?
CVE-2023-0340 has been scored as a high severity vulnerability.
How to fix CVE-2023-0340?
To fix CVE-2023-0340, 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-2023-0340 being actively exploited in the wild?
It is possible that CVE-2023-0340 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-2023-0340?
CVE-2023-0340 affects Unknown Custom Content Shortcode.
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.