THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-h9g5-28mm-hx3g (medium) — Echo vulnerable to Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlob

[GHSA] GHSA-h9g5-28mm-hx3g (medium) — Echo vulnerable to Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlob

highgithub_advisoriesPublished 2026-10-28

GHSA-h9g5-28mm-hx3g Severity: medium CVE: CVE-2026-118652

Echo vulnerable to Reflected Cross-Site Scripting (XSS) via unsanitized JSONP callback in Context.JSONP / Context.JSONPBlob

### Summary

The `Context.JSONP`, `Context.JSONPBlob`, and internal `jsonPBlob` helper in `context.go` directly concatenate the caller-supplied `callback` parameter into a JavaScript response **without any validation

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-h9g5-28mm-hx3g