CVE-2026-49294
MEDIUM Exploitation: PoC
6.1
CVSS 3.1
Description
Valhalla is an open source routing engine and accompanying libraries for use with OpenStreetMap data. Versions 3.6.3 and prior are vulnerable to reflected cross-site scripting (XSS) due to improper neutralization of input in the JSONP callback parameter. When a request specifies a JSONP callback, the value is reflected directly into the HTTP response body with Content-Type: application/javascript, without any validation, output encoding, or allowlist filtering. An attacker can craft a URL containing arbitrary JavaScript in the callback parameter; if a victim is induced to load that URL via a <script src="..."> tag, the injected script executes in the context of the serving origin, potentially leading to session token theft, credential disclosure, or actions performed on behalf of the victim. This issue was not fixed at time of publication.
Metadata
Severity & Metrics
6.1
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| valhalla | valhalla | — | <= 3.6.3 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-79 | cna | CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') |
CVSS scores (1)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 6.1 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References (1)
- https://github.com/valhalla/valhalla/security/advisories/GHSA-85xx-39j8-r56x https://github.com/valhalla/valhalla/security/advisories/GHSA-85xx-39j8-r56x