What’s Vulnerable › Vulnerabilities

CVE-2021-24825: Custom Content Shortcode < 4.0.2 - Authenticated Arbitrary File Access / LFI

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)

Affected products

How to fix

Upgrade to a fixed version: Custom Content Shortcode 4.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-24825 or the next vulnerability affects your stack