Arbitrary File Upload Affecting github.com/lin-snow/ech0/internal/middleware package, versions <4.4.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMLINSNOWECH0INTERNALMIDDLEWARE-16321160
  • published29 Apr 2026
  • disclosed10 Apr 2026
  • creditoffset

Introduced: 10 Apr 2026

CVE NOT AVAILABLE CWE-434  (opens in a new tab)

How to fix?

Upgrade github.com/lin-snow/Ech0/internal/middleware to version 4.4.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary File Upload via the file upload. An administrator can execute arbitrary JavaScript in the context of the application by uploading a crafted SVG or HTML file containing malicious scripts, which are then served to users without authentication or proper content-type validation.

CVSS Base Scores

version 4.0
version 3.1