Cross-site Request Forgery (CSRF) Affecting github.com/forceu/gokapi/internal/webserver package, versions <2.2.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.08% (1st 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-GITHUBCOMFORCEUGOKAPIINTERNALWEBSERVER-15444903
  • published10 Mar 2026
  • disclosed5 Mar 2026
  • creditSijisu

Introduced: 5 Mar 2026

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

How to fix?

Upgrade github.com/forceu/gokapi/internal/webserver to version 2.2.3 or higher.

Overview

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) via the IsCorrectUsernameAndPassword validation. An attacker can cause a victim's browser to initiate a session tied to an account for which the attacker knows the credentials by tricking the victim into submitting a crafted request, potentially resulting in misattribution of actions and unauthorized use of trusted user capabilities.

References

CVSS Base Scores

version 4.0
version 3.1