# CVE-2023-0340: Custom Content Shortcode <= 4.0.2 - Contributor+ LFI

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-03-20T15:52:22.788Z
- Modified: 2026-06-17T05:25:19.383Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown Custom Content Shortcode: up to 4.0.2
- custom_content_shortcode_project custom_content_shortcode: up to 4.0.2

## Every score

- CISA-ADP: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543d> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2023-0340](https://www.cve.org/CVERecord?id=CVE-2023-0340), CVE Terms of Use, modified 2025-02-26
- NVD: [CVE-2023-0340](https://nvd.nist.gov/vuln/detail/CVE-2023-0340), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-0340 · Whole record: https://cve.day/CVE-2023-0340.json · Rebuilt by cve.day 2026-11-25T22:58:22.536Z
