CVE-2026-73254 json
Mongoose: Stored XSS via unescaped filenames in directory listing
published 2mo ago modified 22d ago also EUVD-2026-63496 , JLSEC-2026-1378
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 28%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- cesanta mongoose 7.22
- cesanta mongoose_embedded_web_server_library 7.22
- mongoose Debian 14 7.22+ds-1
debian advisories DEBIAN-CVE-2026-73254
- github.com/cesanta/mongoose@a9df523 commit
- github.com/cesanta/mongoose#3611 pull request
- github.com/cesanta/mongoose/releases/tag/7.22 release
Is CVE-2026-73254 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 28% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/cesanta/mongoose/security/advisories/GHSA-5g6j-m3pv-4f7g referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | Mongoose_jll | all versions |
no fix listed |
Affected products
- cesanta mongoose
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/cesanta/mongoose/pull/3611
issue-tracking, patch, web
-
github.com
/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71
patch, web
-
github.com
/cesanta/mongoose/security/advisories/GHSA-5g6j-m3pv-4f7g
exploit, vendor-advisory, web
-
github.com
/cesanta/mongoose/releases/tag/7.22
release-notes, web
Sources
- CVE List CVE-2026-73254
- NVD CVE-2026-73254
- OSV JLSEC-2026-1378
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.