CVE-2023-0340

CVE-2023-0340 is a high-severity vulnerability in Custom Content Shortcode Project Custom Content Shortcode with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low.

Key facts

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.

Frequently asked questions

What is CVE-2023-0340?
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.
How severe is CVE-2023-0340?
CVE-2023-0340 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
Is CVE-2023-0340 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (60th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2023-0340?
CVE-2023-0340 affects Custom Content Shortcode Project Custom Content Shortcode. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2023-0340?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2023-0340 published?
CVE-2023-0340 was published on 2023-03-20 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Custom Content Shortcode Project Custom Content Shortcode

All CVEs affecting Custom Content Shortcode Project Custom Content Shortcode →