CVE-2021-24825

MEDIUM

WordPress Custom Content Shortcode <4.0.2 - Local File Inclusion

Title source: llm
STIX 2.1

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)

References (1)

Core 1
Core References
Exploit, Third Party Advisory x_refsource_misc
https://wpscan.com/vulnerability/be9d6f82-c972-459a-bacf-65b3dfb11a09

Scores

CVSS v3 4.3
EPSS 0.0043
EPSS Percentile 34.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Details

CWE
CWE-345
Status published
Products (1)
custom_content_shortcode_project/custom_content_shortcode < 4.0.2
Published Mar 07, 2022
Tracked Since Feb 18, 2026