Custom Content Shortcode < 4.0.2 - Authenticated Arbitrary File Access / LFI

4.3MEDIUM

Key Information:

Vendor

Wordpress

CVE ID
CVE ID:
CVE-2021-24825
Vendor
CVE Published:
7 March 2022
Fixed in
Fixed in:
4.0.2

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Monitor

Low risk for most. Patch in your normal cycle.

What to do

1Update to a fixed version
Custom Content Shortcode below 4.0.2 is vulnerable
Install Custom Content Shortcode 4.0.2 or later
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Custom Content Shortcode. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Monitor"
  • Its CVSS severity is medium (4.3).

What is CVE-2021-24825?

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)

References

Object Injection in Ultimate Member

CVE-2026-134481
WordPressUltimate MemberπŸ˜„9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration AideπŸ‘Ύ9.8CRITICAL

Remote Code Execution in WP Duplicate Plugin

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more Wordpress vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
4.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
None
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Credit

Francesco Carlucci
.