{"id":"CVE-2021-24825","aliases":["CVE-2021-24825"],"related":[],"kind":"vulnerability","state":"published","title":"Custom Content Shortcode < 4.0.2 - Authenticated Arbitrary File Access / LFI","summary":"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)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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)","source":"cvelist"},{"lang":"es","text":"El plugin Custom Content Shortcode de WordPress versiones anteriores a 4.0.2, no comprueba los datos pasados a su shortcode de carga, lo que podría permitir a usuarios de Contributor+ (versiones anteriores a 4.0.1) o Admin+ (versiones anteriores a 4.0.2) mostrar archivos arbitrarios del sistema de archivos (como registros, .htaccess, etc), así como llevar a cabo ataques de inclusión de archivos locales, ya que serán ejecutados archivos PHP. Por favor, tenga en cuenta que este tipo de ataque sigue siendo posible por admin+ en los blogs de un solo sitio por defecto (pero no lo será cuando el unfiltered_html o el file_edit estén deshabilitados)","source":"nvd"}],"published":"2022-03-07T08:16:05.000Z","modified":"2026-06-17T03:40:58.307Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"type":"custom","introduced":"4.0.2","fixed":"4.0.2","status":"affected"}],"vendor":"Unknown","product":"Custom Content Shortcode","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"4.0.2"}],"vendor":"custom_content_shortcode_project","product":"custom_content_shortcode","cpe":"cpe:2.3:a:custom_content_shortcode_project:custom_content_shortcode:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/be9d6f82-c972-459a-bacf-65b3dfb11a09","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Francesco Carlucci"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24825","url":"https://www.cve.org/CVERecord?id=CVE-2021-24825","licence":"CVE Terms of Use","modified":"2024-08-03T19:42:17.342Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24825","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24825","licence":"Public domain","modified":"2026-06-17T03:40:58.307Z"}],"updatedAt":"2026-11-25T22:58:07.129Z","epss":{"score":0.00442,"percentile":0.40176,"date":"2026-12-01T12:00:22.000Z"}}