Radar sectionsDatabase
Check my site
WordPress plugin

Custom Content Shortcode <= 4.0.1 — Authenticated Arbitrary File Access / Local File Inclusion

CVE-2021-24825Published · Updated

Action summary

Affected: ≤4.0.1Update to 4.0.2 or newer

All remediation steps
Severity
Medium4.3
CVSS
4.3
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:L Attack complexity
Low
PR:L Privileges required
Low
UI:N User interaction
None
S:U Scope
Unchanged
C:L Confidentiality
Low
I:N Integrity
None
A:N Availability
None
Weakness
CWE-284 Improper Access Control
Required access
Unknown
Exploit prediction (EPSS)
No score
CISA KEV
Not listed

Am I affected?

Custom Content Shortcode custom-content-shortcode

  1. Affected≤ 4.0.1
  2. Patched in4.0.2

Update to 4.0.2 or newer.

You are affected if you run ≤ 4.0.1. Version 4.0.2 and later are not affected by this issue.

  • Check your version: in wp-admin go to Plugins → Installed Plugins and read the version under Custom Content Shortcode.
  • No admin access? Run a passive check of your site. It reads public files only.

What to do

  1. Update to version 4.0.2, or a newer patched version
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.
  3. Watch Custom Content Shortcode to get an email when the next vulnerability is published.

Advisory

Source description from Wordfence Intelligence, credited to Francesco Carlucci.

The Custom Content Shortcode WordPress plugin before 4.0.2 does not validate the data passed to its load shortcode, which could allow Contributor+ (v < 4.0.1) or Admin+ (v < 4.0.2) users to display arbitrary files from the filesystem (such as logs, .htaccess etc), as well as perform Local File Inclusion attacks as PHP files will be executed. Please note that such attack is still possible by admin+ in single site blogs by default (but won't be when either the unfiltered_html or file_edit is disallowed)

Exploits & references

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

More in Custom Content Shortcode

All 5
More vulnerabilities in Custom Content Shortcode
SeverityVulnerabilityCVEPublished
Medium6.4Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
≤4.0.2No patch available
CVE-2023-0273
High8.8Authenticated (Contributor+) Local File Inclusion via Shortcode
≤4.0.2No patch available
CVE-2023-0340
Medium5.4Authenticated Stored Cross-Site Scripting
≤4.0.1Update to 4.0.2
CVE-2021-24826
Medium4.3Unauthorised Arbitrary Post Metadata Access
≤3.8.8Update to 4.0.1
CVE-2021-24824

Timeline

  1. CVE published

    Severity medium, CVSS 4.3

  2. Record last updated

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
CVE® identifiers
Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?