WPStylish Madara – Responsive and modern WordPress theme for manga sites
Madara – Responsive and modern WordPress theme for manga sites <= 2.2.2 - Unauthenticated Local File Inclusion
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 2.2.2
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 16 days before publication; not in CISA KEV. First PoC: ptrstr/CVE-2025-4524 (created 5 May 2025, found by us: backfilled).
PoC repositories
Found on GitHub.2 PoCs
PoCs 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ptrstr/CVE-2025-4524 | 5 May 2025 −16 d | 2 | PoC |
| CyruxSec/CVE-2025-4524 | 13 Jun 2026 +1.1 y | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | WordPress Madara - Local File Inclusion | 6 Apr 2026 | 14 Nov 2026 |
| nuclei template | nuclei template: WordPress Madara Theme < 2.2.2.1 - Local File Inclusion | 16 Apr 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 2 PoC reposPOST /wp-admin/admin-ajax.php
- Key headers
Accept: */*Accept-Language: en-US,en;q=0.5X-Requested-With: XMLHttpRequest- Body markers
action=madara_load_morepage=1template=../../../../../../../../../etc/passwdvars[orderby]=meta_value_numvars[paged]=1vars[posts_per_page]=16vars[post_type]=wp-mangavars[post_status]=publishtemplate=plugins/../../../../../../../etc/passwdvars[timerange]=vars[tax_query][relation]=ORvars[meta_query][0][relation]=ANDvars[meta_query][relation]=ANDvars[meta_key]=_latest_updatevars[order]=descvars[sidebar]=rightvars[manga_archives_item_layout]=big_thumbnailname="action"name="userAvatar"name="userID"name="_wpnonce"inapplication/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0- Seen in
- 2 repos: CyruxSec/CVE-2025-4524, ptrstr/CVE-2025-4524
- Evidence
- CyruxSec/CVE-2025-4524/WPMadara.py:159 ptrstr/CVE-2025-4524/README.md:70 ptrstr/CVE-2025-4524/poc.py:37 ptrstr/CVE-2025-4524/poc.py:61
GET /user-settings/
- Query
tab=account-settings- Seen in
- 1 repo: ptrstr/CVE-2025-4524
- Evidence
- ptrstr/CVE-2025-4524/poc.py:42
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
(?i)^/user-settings/\?(?:.*&)?tab=account-settings
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-4524 WPStylish Madara – Responsive and modern WordPress theme for manga sites exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/wp-admin/admin-ajax.php"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"action=madara_load_more"; http.request_body; content:"page=1"; http.request_body; content:"template=../../../../../../../../../etc/passwd"; http.request_body; content:"vars[orderby]=meta_value_num"; http.request_body; content:"vars[paged]=1"; http.request_body; content:"vars[posts_per_page]=16"; http.request_body; content:"vars[post_type]=wp-manga"; http.request_body; content:"vars[post_status]=publish"; http.request_body; content:"template=plugins/../../../../../../../etc/passwd"; http.request_body; content:"vars[timerange]="; http.request_body; content:"vars[tax_query][relation]=OR"; http.request_body; content:"vars[meta_query][0][relation]=AND"; http.request_body; content:"vars[meta_query][relation]=AND"; http.request_body; content:"vars[meta_key]=_latest_update"; http.request_body; content:"vars[order]=desc"; http.request_body; content:"vars[sidebar]=right"; http.request_body; content:"vars[manga_archives_item_layout]=big_thumbnail"; http.request_body; content:"name=|22|action|22|"; http.request_body; content:"name=|22|userAvatar|22|"; http.request_body; content:"name=|22|userID|22|"; http.request_body; content:"name=|22|_wpnonce|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-4524; classtype:web-application-attack; sid:9271076; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-4524 WPStylish Madara – Responsive and modern WordPress theme for manga sites exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/user-settings/"; http.uri; content:"tab=account-settings"; reference:url,poc.griffinguard.io/cve/CVE-2025-4524; classtype:web-application-attack; sid:9100344; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: WPStylish Madara – Responsive and modern WordPress theme for manga sites exploit attempt (CVE-2025-4524)
id: gg-pocmon-cve-2025-4524-9271076
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-4524. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-4524
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/wp-admin/admin-ajax.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.4524
title: WPStylish Madara – Responsive and modern WordPress theme for manga sites exploit attempt (CVE-2025-4524)
id: gg-pocmon-cve-2025-4524-9100344
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-4524. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-4524
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/user-settings/'
cs-uri-query|contains|all:
- 'tab=account-settings'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.4524