Cross-site Request Forgery (CSRF) Affecting goshs.de/goshs/v2/httpserver package, versions >=2.0.0-beta.4 <2.0.0-beta.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.14% (4th percentile)

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-GOSHSDEGOSHSV2HTTPSERVER-16316095
  • published29 Apr 2026
  • disclosed22 Apr 2026
  • creditR1ZZG0D

Introduced: 22 Apr 2026

CVE-2026-40883  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade goshs.de/goshs/v2/httpserver to version 2.0.0-beta.6 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the GET routes that change state. An attacker can cause authenticated users to unintentionally delete files or create directories by tricking them into visiting a crafted URL, as there is no validation of CSRF tokens, Origin, or Referer headers.

CVSS Base Scores

version 4.0
version 3.1