PoC Monitor
← All CVEs
CVE-2025-4524published 21 May 2025 06:39 UTCData: JSON · API

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.

First public PoC 16 days beforebefore publication · 5 May 2025
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

WPStylish Madara – Responsive and modern WordPress theme for manga sites
  • <= 2.2.2

Mitigation

The record names no fix. Check the vendor advisory below.

Timeline

Days relative to CVE publication
-18-15-12-9-6-3t=0+3+6First public PoC5 May 2025 · t−16dCVE published21 May 2025 · t = 0

First 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
RepositoryCreatedStarsAssessment
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
  • owner account created less than 7 days before the repo

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.
SourceTitlePublishedFound by us
Exploit-DBWordPress Madara - Local File Inclusion6 Apr 202614 Nov 2026
nuclei templatenuclei template: WordPress Madara Theme < 2.2.2.1 - Local File Inclusion16 Apr 202614 Nov 2026

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

POST /wp-admin/admin-ajax.php

Key headers
Accept: */* Accept-Language: en-US,en;q=0.5 X-Requested-With: XMLHttpRequest
Body markers
action=madara_load_more page=1 template=../../../../../../../../../etc/passwd vars[orderby]=meta_value_num vars[paged]=1 vars[posts_per_page]=16 vars[post_type]=wp-manga vars[post_status]=publish template=plugins/../../../../../../../etc/passwd vars[timerange]= vars[tax_query][relation]=OR vars[meta_query][0][relation]=AND vars[meta_query][relation]=AND vars[meta_key]=_latest_update vars[order]=desc vars[sidebar]=right vars[manga_archives_item_layout]=big_thumbnail name="action" name="userAvatar" name="userID" name="_wpnonce" in application/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.

POST /wp-admin/admin-ajax.php
(?i)^/wp-admin/admin-ajax\.php(?:[?#].*)?$
GET /user-settings/
(?i)^/user-settings/\?(?:.*&)?tab=account-settings

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /wp-admin/admin-ajax.php
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;)
GET /user-settings/
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.

POST /wp-admin/admin-ajax.php
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
GET /user-settings/
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