{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-0340","id":"CVE-2023-0340","title":"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 t","descriptionLong":"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.","published":"2023-03-20T15:52:22.788Z","updated":"2026-06-17T05:25:19.383Z","reserved":"2023-01-17T15:34:18.055Z","status":"Modified","rejected":false,"assigner":"WPScan","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"}],"rating":"high","products":["Custom Content Shortcode"],"affectedProducts":[{"vendor":"Unknown","product":"Custom Content Shortcode","defaultStatus":"affected","versions":[{"status":"affected","versionType":"custom","version":"0","lessThanOrEqual":"4.0.2"}],"platforms":[]}],"packages":[],"cwes":["CWE-22"],"aliases":[],"references":[{"url":"https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543d","tags":["exploit","vdb-entry","technical-description","x_transferred","Exploit","Third Party Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.01047,"epssPercentile":0.64904,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-0340","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0340","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-0340","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-0340","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}