{"id":"JLSEC-2026-1383","details":"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.","modified":"2026-08-24T14:00:03.355072234Z","published":"2026-08-24T13:43:17.899Z","upstream":["CVE-2026-73259","EUVD-2026-63498"],"database_specific":{"license":"CC-BY-4.0","sources":[{"html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73259","database_specific":{"status":"Received"},"id":"CVE-2026-73259","imported":"2026-08-23T06:20:18.327Z","modified":"2026-08-20T20:17:46.580Z","published":"2026-08-20T18:16:47.730Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-73259"},{"html_url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63498","affected":{"Cesanta:Mongoose":["\u003c 7.22"]},"id":"EUVD-2026-63498","imported":"2026-08-23T06:20:06.544Z","modified":"2026-08-20T19:51:19Z","published":"2026-08-20T17:39:16Z","url":"https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-63498"}]},"references":[{"type":"WEB","url":"https://github.com/cesanta/mongoose/commit/a9df523f76f43a38bd53b4232b9cfd4c16869e71"},{"type":"WEB","url":"https://github.com/cesanta/mongoose/pull/3611"},{"type":"WEB","url":"https://github.com/cesanta/mongoose/releases/tag/7.22"},{"type":"WEB","url":"https://github.com/cesanta/mongoose/security/advisories/GHSA-9cwm-487w-h25w"}],"affected":[{"package":{"name":"Mongoose_jll","ecosystem":"Julia","purl":"pkg:julia/Mongoose_jll?uuid=0a8a3f5b-4c0e-5906-8e29-5b3fee15539c"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1383.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"CNA"}]}