Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-118652
Published:October 28, 2026
Updated:October 29, 2026
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.
Affected Packages
https://github.com/labstack/echo.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.16.0
Fix Suggestion:
Update to version v4.16.0
https://github.com/labstack/echo.git (GITHUB):
Affected version(s) >=v5.0.0 <v5.4.0
Fix Suggestion:
Update to version v5.4.0
github.com/labstack/echo/v4 (GO):
Affected version(s) >=v4.0.0 <v4.16.0
Fix Suggestion:
Update to version v4.16.0
github.com/labstack/echo/v5 (GO):
Affected version(s) >=v5.0.0 <v5.4.0
Fix Suggestion:
Update to version v5.4.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
LOW
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Neutralization of Input During Web Page Generation