CVE-2026-118652
Echo: Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlob
A public proof of concept exists; no exploitation attested.
- Published2026-10-28
- Fixed in4.16.0
- WeaknessCWE-79
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Context.JSONP and Context.JSONPBlob concatenate an unvalidated callback value into a JavaScript response. A route that passes attacker-controlled input as the callback can return executable script syntax, allowing reflected cross-site scripting when a user loads the crafted response. The vulnerable jsonPBlob path performs no callback validation or escaping, and exploitation requires an application route that exposes attacker control over the callback argument. This issue is fixed in 4.16.0 and 5.4.0.
Timeline
dates in UTC- 2026-10-2819:35CVE publishedCNA
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-118652?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-118652?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 4.16 | < 4.16.0 | 4.16.0 | OSV |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 5.4 | < 5.4.0 | 5.4.0 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- labstack echoAffected
- = < 4.16.0no fix stated
- = >= 5.0.0, < 5.4.0no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-10-28
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- github.com/labstack/echo/v4Echo:Goall versions · fixed in 4.16.0
- golang-github-labstack-echoUbuntu:26.10all versions · no fixed version listed
- golang-github-labstack-echoUbuntu:26.04:LTSall versions · no fixed version listed
- golang-github-labstack-echoUbuntu:24.04:LTSall versions · no fixed version listed
- golang-github-labstack-echoUbuntu:22.04:LTSall versions · no fixed version listedand 2 other packages
- golang-github-labstack-echoDebian:14all versions · no fixed version listed
- golang-github-labstack-echoDebian:13all versions · no fixed version listed
- golang-github-labstack-echoDebian:12all versions · no fixed version listed
1 more package range on OSV.dev
Fix
- Update labstack/echo to 4.16.0
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2026-11-03
- OpenCVESSVC decisionpoc—
- CNACVSS 3.16.12026-10-28
- GitHub AdvisoriesCVSS 3.16.12026-10-28
- CNAweakness (CWE)CWE-792026-10-28
- GitHub Advisoriesweakness (CWE)CWE-792026-10-28
- NVDweakness (CWE)CWE-79read 2026-11-03
- FIRST EPSSEPSS score0.2 %2026-11-03
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2026-10-28
Identifiers
- EUVD-2026-112408same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-h9g5-28mm-hx3gsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Published
- 2026-10-28
- Last Modified
- 2026-11-03
- NVD status
- Undergoing Analysis
- GitHub Advisory
- GHSA-h9g5-28mm-hx3g
Frequently asked questions
What is CVE-2026-118652?
Is CVE-2026-118652 actively exploited?
What is the CVSS score for CVE-2026-118652?
Running labstack/echo? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2022-40083same product
- CVE-2020-36565same product
- CVE-2026-55677same product
- CVE-2026-118653same productEcho: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
- CVE-2026-118650same productEcho: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path
- CVE-2026-25766same product
- CVE-2026-118654same productEcho static file middleware route protection bypass via encoded dot-dot traversal
- CVE-2026-118655same productEcho: Static Middleware Double-Unescape Path Traversal
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-h9g5-28mm-hx3g
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- CISA Vulnrichment · CC0-1.0