Formality CVE-2025-48157 detect
| Reporter | Title | Published | Views | Family All 13 |
|---|---|---|---|---|
| WordPress plugin Formality has a security vulnerability | 20 Aug 202500:00 | – | cnnvd | |
| CVE-2025-48157 | 20 Aug 202508:03 | – | cve | |
| CVE-2025-48157 WordPress Formality <= 1.5.9 - Local File Inclusion Vulnerability | 20 Aug 202508:03 | – | cvelist | |
| EUVD-2025-25375 | 3 Oct 202520:07 | – | euvd | |
| Formality CVE-2025-48157 LFI read | 9 Nov 202607:42 | – | kittysploit | |
| WordPress Formality Plugin <= 1.5.9 - Local File Inclusion | 19 Nov 202602:03 | – | nuclei | |
| CVE-2025-48157 | 20 Aug 202508:15 | – | nvd | |
| WordPress Formality <= 1.5.9 - Local File Inclusion Vulnerability | 16 Jul 202511:03 | – | patchstack | |
| PT-2025-33916 · Michele Giorgi · Formality | 20 Aug 202500:00 | – | ptsecurity | |
| CVE-2025-48157: Improper Control of Filename for Include/Require Statement in PHP Program | 20 Aug 202500:00 | – | rapid7 |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Formality <= 1.5.9 authenticated LFI (CVE-2025-48157)."""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
from lib.protocols.http.wordpress import Wordpress
_PLUGIN = "formality"
_VULN_HIGH = (1, 5, 9)
class Module(Scanner, Http_client, Wordpress):
__info__ = {
"name": "Formality CVE-2025-48157 detect",
"description": "Detects Formality plugin <= 1.5.9 (LFI via download.php; needs creds to confirm).",
"author": ["KittySploit Team"],
"severity": "critical",
"cve": "CVE-2025-48157",
"references": ["https://nvd.nist.gov/vuln/detail/CVE-2025-48157"],
"modules": ["auxiliary/admin/http/formality_cve_2025_48157_lfi_read"],
"tags": ["web", "scanner", "wordpress", "formality", "lfi", "cve-2025-48157"],
"agent": {
"approval_required": True,
"chain": {
"suggested_followups": ["auxiliary/admin/http/formality_cve_2025_48157_lfi_read"],
},
},
}
base_path = OptString("/", "WordPress base path", required=False)
def _join(self, suffix: str) -> str:
base = self.wp_normalize_base_path(self.base_path or "/")
if not suffix.startswith("/"):
suffix = "/" + suffix
return f"{base}{suffix}" if base != "/" else suffix
def run(self):
base = self.wp_normalize_base_path(self.base_path or "/")
version = self.wp_plugin_version(_PLUGIN, base) or ""
readme = self.http_request(
method="GET",
path=self._join("/wp-content/plugins/formality/readme.txt"),
allow_redirects=False,
)
if not readme or "Formality" not in (readme.text or ""):
return False
if version and not self.wp_version_in_range(version, (0, 0, 0), _VULN_HIGH):
return False
dl = self._join("/wp-content/uploads/formality/storage/download.php")
probe = self.http_request(method="GET", path=dl, allow_redirects=False)
if probe and int(probe.status_code or 0) in (200, 400, 403, 500):
self.set_info(
severity="high",
reason="Formality download.php reachable (LFI with session)",
path=dl,
cve="CVE-2025-48157",
)
return True
self.set_info(severity="high", reason="Formality <= 1.5.9 installed", cve="CVE-2025-48157")
return True
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
09 Nov 2026 07:42Current
6Medium risk
Vulners AI Score6
CVSS 3.18.1
EPSS0.029
SSVC