{"id":"CVE-2025-4524","published":"2025-05-21T06:39:46Z","modified":"2026-04-29T19:47:51Z","title":"Madara – Responsive and modern WordPress theme for manga sites <= 2.2.2 - Unauthenticated Local File Inclusion","vendor":"WPStylish","product":"Madara – Responsive and modern WordPress theme for manga sites","tier":"tail","description":{"text":"The Madara – Responsive and modern WordPress theme for manga sites theme for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 2.2.2 via the 'template' parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.10733,"percentile":0.95939,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/a3ee01da-218a-421d-8f9c-1dc6c056ef74?source=cve","tags":[]},{"url":"https://mangabooth.com/product/wp-manga-theme-madara/","tags":[]},{"url":"https://www.exploit-db.com/exploits/52487","tags":[]}],"priority":{"score":31.0,"factors":[{"name":"EPSS percentile","points":19.19},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.86}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2026-04-06"},"pocGithub":{"count":1,"skipped":1,"earliest":"2025-05-05","earliestUrl":"https://github.com/ptrstr/CVE-2025-4524","repos":[{"name":"ptrstr/CVE-2025-4524","url":"https://github.com/ptrstr/CVE-2025-4524","stars":2,"created":"2025-05-05"}]},"nuclei":[{"id":"CVE-2025-4524","name":"WordPress Madara Theme < 2.2.2.1 - Local File Inclusion","severity":"high","path":"http/cves/2025/CVE-2025-4524.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-4524.yaml"}],"first":{"date":"2025-05-05","source":"PoC-in-GitHub","url":"https://github.com/ptrstr/CVE-2025-4524"},"provenance":"source"},"vendorSlug":"wpstylish","affectedVersions":[{"vendor":"WPStylish","product":"Madara – Responsive and modern WordPress theme for manga sites","versions":["<= 2.2.2"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2025-05-21T10:14:10.836155Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The Madara WordPress theme for manga sites, in all versions up to and including 2.2.2, contains a Local File Inclusion flaw in its handling of the 'template' parameter caused by improper limitation of pathnames to a restricted directory. An unauthenticated remote attacker, with no user interaction required, can send crafted requests to include and execute arbitrary files on the server, including PHP code, which can bypass access controls, expose sensitive data, or lead to code execution where uploaded image or other \"safe\" file types can be included.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T00:17:51Z"},"euvd":{"id":"EUVD-2025-15990","exploited":false,"provenance":"source"},"exploits":[{"id":52487,"url":"https://www.exploit-db.com/exploits/52487","title":"WordPress Madara - Local File Inclusion (LFI)","date":"2026-04-06","verified":false,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/52487"]}