Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-73259— Mongoose: Reflected XSS via decoded URI in directory listing render

Quick assessment

Affected
cesanta mongoose
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Cesanta Mongoose是爱尔兰Cesanta公司开源的一个嵌入式Web服务器。 Cesanta Mongoose 7.22之前版本存在跨站脚本漏洞,该漏洞源于mg_http_serve_dir()和listdir()路径将解码后的请求URI放入title和h1元素时未进行HTML实体编码,可能导致反射型跨站脚本攻击,暴露会话数据或以受害者身份执行操作。

CVSS 5.4 · Medium EPSS 0.41% · P33

Affected Version Matrix 1

VendorProduct Version RangeStatus
cesanta mongoose < 7.22 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-73259

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Mongoose: Reflected XSS via decoded URI in directory listing render
Source: CVE Program / CVE List V5
Vulnerability Description
Mongoose is an embedded web server and network library. Prior to 7.22, a remote attacker can send a crafted percent-encoded request path to a deployment using MG_ENABLE_DIRLIST and persuade a user to visit it. The mg_http_serve_dir() and listdir() path in src/http.c places the decoded request URI into the title and h1 elements without HTML entity encoding. The resulting reflected cross-site scripting executes in the Mongoose origin and can expose session data or perform actions as the victim. This issue is fixed in version 7.22.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Cesanta Mongoose 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Cesanta Mongoose是爱尔兰Cesanta公司开源的一个嵌入式Web服务器。 Cesanta Mongoose 7.22之前版本存在跨站脚本漏洞,该漏洞源于mg_http_serve_dir()和listdir()路径将解码后的请求URI放入title和h1元素时未进行HTML实体编码,可能导致反射型跨站脚本攻击,暴露会话数据或以受害者身份执行操作。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cesanta mongoose < 7.22 -

II. Public POCs for CVE-2026-73259

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-73259

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-73259 (1)

Vendor Advisories for CVE-2026-73259 (1)

Vendor Pages for CVE-2026-73259 (1)

Same Patch Batch · cesanta · 2026-08-20 · 8 CVEs total

CVE-2026-73251 9.3 CRITICAL Mongoose Built-in TLS: CA-bundle certificate chain accepted without any signature verifica
CVE-2026-73257 9.1 CRITICAL Mongoose: Content-Length + Transfer-Encoding coexistence enables request smuggling
CVE-2026-73256 9.1 CRITICAL Mongoose: HTTP/1.0 detection off-by-one enables request smuggling via chunked TE
CVE-2026-73253 9.1 CRITICAL Mongoose: TLS Hostname Verification Bypass via Overly Permissive Wildcard Matching
CVE-2026-73258 6.5 MEDIUM Mongoose: Multipart boundary/header scan logic error in mg_http_next_multipart
CVE-2026-73255 6.5 MEDIUM Mongoose: Path traversal in SSI #include directives enables arbitrary file read
CVE-2026-73254 5.4 MEDIUM Mongoose: Stored XSS via unescaped filenames in directory listing

IV. Related Vulnerabilities

V. Comments for CVE-2026-73259

No comments yet


Leave a comment