Custom Content Shortcode <= 4.0.2 - Contributor+ LFI
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Unknown | Custom Content Shortcode | up to 4.0.2 | — | No fix listed | CNA |
- Custom Content Shortcode VendorUnknown Affected up to 4.0.2 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:custom_content_shortcode_project:custom_content_shortcode:*:*:*:*:*:wordpress:*:* | up to 4.0.2 | Vulnerable | Custom Content Shortcode Project |
- cpe:2.3:a:custom_content_shortcode_project:custom_content_shortcode:*:*:*:*:*:wordpress:*:* Versions up to 4.0.2 Vulnerable ·Custom Content Shortcode Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2023-0340
- 2026-10-03 Alias added: GHSA-q9rp-c9pw-fg3v
References
More Custom Content Shortcode Project Custom Content Shortcode vulnerabilities
- TI-2023-00258 Custom Content Shortcode <= 4.0.2 - Contributor+ Stored XSS CVSS 3.1MEDIUM 5.4
- TI-2021-07108 Custom Content Shortcode < 4.0.2 - Authenticated Stored Cross-Site Scripting CVSS 3.1MEDIUM 5.4
- TI-2021-07106 Custom Content Shortcode < 4.0.1 - Unauthorised Arbitrary Post Metadata Access CVSS 3.1MEDIUM 4.3
- TI-2021-07107 Custom Content Shortcode < 4.0.2 - Authenticated Arbitrary File Access / LFI CVSS 3.1MEDIUM 4.3
Sources
- CVE-2023-0340 · CVE Program
- CVE-2023-0340 · NVD
- FIRST EPSS
- GHSA-q9rp-c9pw-fg3v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences