SEPTEMBER 18, 2026
Live Feed
Back to database
Case File

CVE-2026-73254

MEDIUM · CVSS 5.4 EPSS 0.23% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-08-20 · Last synced 2026-09-18

CyberRota Analysis

AI-Generated

Mongoose versions prior to 7.22 are vulnerable to stored cross-site scripting (XSS) due to improper handling of filenames in directory listings when the MG_ENABLE_DIRLIST option is enabled. An attacker can exploit this vulnerability by creating a malicious HTML payload in a file name, potentially allowing them to execute scripts in the context of the user's session, which could lead to unauthorized actions or exposure of sensitive data. Organizations using affected versions of Mongoose should prioritize upgrading to version 7.22 or later to mitigate this risk.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-73254
Severity
MEDIUM
CVSS
5.4
EPSS
0.23%

Original NVD Description

Mongoose is an embedded web server and network library. Prior to 7.22, an attacker who can create a file with an HTML payload in its name can trigger stored cross-site scripting when a user browses a directory served with MG_ENABLE_DIRLIST. The printdirentry() path called by listdir() in src/http.c URL-encodes the href but inserts the raw filesystem filename into the HTML link text. The browser executes the injected markup in the Mongoose origin, which can expose session data or permit actions as the victim. This issue is fixed in version 7.22.