6.1

CVE-2026-118652: Echo: Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlob

Undergoing analysis
AliasesGHSA-h9g5-28mm-hx3gDEBIAN-CVE-2026-118652UBUNTU-CVE-2026-118652
Published 28-10-2026Last modified 03-11-2026

Vulnerability summary

CVE-2026-118652 is a medium (CVSS 6.1) vulnerability in labstack echo. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 15.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.24%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 28-10-2026
    PublishedVulnerability first disclosed.
  2. 03-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

15%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

29-10-202620-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu3 products
  • golang-github-labstack-echoAll versions (No fix recorded)
  • golang-github-labstack-echo.v2All versions (No fix recorded)
  • golang-github-labstack-echo.v3All versions (No fix recorded)
Github.com/labstack/echo2 products
  • v4< 4.16.0
  • v5< 5.4.0
Debian1 product
  • golang-github-labstack-echoAll versions (No fix recorded)
Labstack1 product
  • echo< 4.16.0 | ≥ 5.0.0, < 5.4.0

4 vendors · 7 products

References

9 links