{"id":"CVE-2023-0340","aliases":["CVE-2023-0340"],"related":[],"kind":"vulnerability","state":"published","title":"Custom Content Shortcode <= 4.0.2 - Contributor+ LFI","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2023-03-20T15:52:22.788Z","modified":"2026-06-17T05:25:19.383Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"4.0.2","status":"affected"}],"vendor":"Unknown","product":"Custom Content Shortcode","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"4.0.2"}],"vendor":"custom_content_shortcode_project","product":"custom_content_shortcode","cpe":"cpe:2.3:a:custom_content_shortcode_project:custom_content_shortcode:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543d","tags":["exploit","technical-description","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Erwan LR (WPScan)","WPScan"],"assigner":"WPScan","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-02-26T18:49:16.572Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-0340","url":"https://www.cve.org/CVERecord?id=CVE-2023-0340","licence":"CVE Terms of Use","modified":"2025-02-26T18:49:48.752Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-0340","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-0340","licence":"Public domain","modified":"2026-06-17T05:25:19.383Z"}],"updatedAt":"2026-11-25T22:58:22.536Z","epss":{"score":0.01047,"percentile":0.65137,"date":"2026-12-01T12:00:22.000Z"}}