CVE-2025-4524 Madara – Responsive and modern WordPress theme for manga sites <= 2.2.2 - Unauthenticated Local File Inclusion

Critical 9.8 Published Updated

Unauthenticated attackers can exploit a local file inclusion vulnerability in the Madara WordPress theme to execute arbitrary PHP code and read sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-4524?

CVE-2025-4524 is a critical path traversal vulnerability in WPStylish Madara – Responsive and modern WordPress theme for manga sites, published on 21 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2025-4524?

How do I fix CVE-2025-4524?

No fix has been published for CVE-2025-4524 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-4524 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-4524 exists.

Public exploit code: 1 Exploit-DB entry, 1 Nuclei template and 2 proofs of concept on GitHub.

Sources

Also known as GHSA-q462-2796-rfg7.

Is CVE-2025-4524 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free