CVEvulnerability
CVE-2023-0340
8.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-03-20
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Affected configurations
• custom content shortcode project custom content shortcode (<= 4.0.2)
References
- https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543d Exploit, Third Party Advisory
- https://wpscan.com/vulnerability/71956598-90aa-4557-947a-c4716674543d Exploit, Third Party Advisory