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

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.44%, higher than 40% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-03-07T08:16:05.000Z
- Modified: 2026-06-17T03:40:58.307Z
- Weaknesses: CWE-345
- Assigned by: WPScan

## 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)

(As written by CVE List.)

## Affected

- Unknown Custom Content Shortcode: from 4.0.2 before 4.0.2
- custom_content_shortcode_project custom_content_shortcode: before 4.0.2

## Every score

- NVD: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://wpscan.com/vulnerability/be9d6f82-c972-459a-bacf-65b3dfb11a09> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24825](https://www.cve.org/CVERecord?id=CVE-2021-24825), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24825](https://nvd.nist.gov/vuln/detail/CVE-2021-24825), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24825 · Whole record: https://cve.day/CVE-2021-24825.json · Rebuilt by cve.day 2026-11-25T22:58:07.129Z
