CVE-2021-24825

published 7 Mar 2022 · updated 3 Aug 2024

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

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.0.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
>=4.0.2 <4.0.24.0.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-24825 severity on Zeptric[![CVE-2021-24825](https://zeptric.io/badge/cve/CVE-2021-24825.svg)](https://zeptric.io/cve/CVE-2021-24825)