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.
{
"sources": [
{
"imported": "2026-08-23T06:20:18.327Z",
"published": "2026-08-20T18:16:47.730Z",
"database_specific": {
"status": "Received"
},
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-73259",
"id": "CVE-2026-73259",
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73259",
"modified": "2026-08-20T20:17:46.580Z"
},
{
"imported": "2026-08-23T06:20:06.544Z",
"published": "2026-08-20T17:39:16Z",
"modified": "2026-08-20T19:51:19Z",
"url": "https://euvdservices.enisa.europa.eu/api/enisaid?id=EUVD-2026-63498",
"id": "EUVD-2026-63498",
"affected": {
"Cesanta:Mongoose": [
"< 7.22"
]
},
"html_url": "https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63498"
}
],
"license": "CC-BY-4.0"
}