CVE-2026-22324
Received Received - Intake
Local File Inclusion Vulnerability in ThemeREX Melania

Publication date: 2026-03-20

Last updated on: 2026-04-28

Assigner: Patchstack

Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Melania allows PHP Local File Inclusion.This issue affects Melania: from n/a through 2.5.0.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-20
Last Modified
2026-04-28
Generated
2026-06-16
AI Q&A
2026-03-20
EPSS Evaluated
2026-06-14
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
themerex melania to 2.5.0 (inc)
themerex melania From 2.0.0 (inc) to 2.5.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-98 The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Impact Analysis

[{'type': 'paragraph', 'content': 'Exploitation of this vulnerability can lead to exposure of sensitive information such as database credentials.'}, {'type': 'paragraph', 'content': "Depending on the website's configuration, attackers could achieve complete database takeover."}, {'type': 'paragraph', 'content': 'The vulnerability has a high severity score (CVSS 8.1) and is often targeted in mass-exploit campaigns, putting many websites at risk regardless of their popularity or traffic.'}] [1]

Compliance Impact

I don't know

Executive Summary

CVE-2026-22324 is a Local File Inclusion (LFI) vulnerability affecting the WordPress Melania Theme versions up to and including 2.5.0.

This vulnerability allows unauthenticated attackers to include and display local files from the target website by exploiting improper control of filename for include/require statements in PHP.

As a result, attackers can potentially access sensitive information stored on the server.

Detection Guidance

CVE-2026-22324 is a Local File Inclusion (LFI) vulnerability that allows unauthenticated attackers to include and display local files from the target website. Detection typically involves monitoring for suspicious HTTP requests attempting to exploit the include/require statements in the Melania theme.

While no specific commands are provided in the available resources, common detection methods include analyzing web server logs for unusual URL parameters that reference local files or using web application firewalls (WAF) with rules designed to block LFI attempts.

Patchstack has issued a mitigation rule that can block attacks exploiting this vulnerability, which can also assist in detecting exploitation attempts.

Mitigation Strategies

Immediate mitigation steps include applying the Patchstack mitigation rule designed to block attacks exploiting this Local File Inclusion vulnerability.

Users are strongly advised to update the Melania theme to a version beyond 2.5.0 if an update becomes available.

If an update is not yet available, seek assistance from your hosting provider or web developer to implement temporary protections.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-22324. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart