CVE-2021-24825

Medium

Description

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)

SeverityMedium
CVSS4.3
Exploit probability—
ProductCustom Content Shortcode
PublishedMar 7, 2022
First seenMar 7, 2022
Weakness typeCWE-345CWE-345

How to fix

Update
  • custom_content_shortcode_project custom_content_shortcode4.0.2 or later

Affected products

ProductAffected versionsFixed in
custom_content_shortcode_project custom_content_shortcodev < 4.0.24.0.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.