Improper Encoding or Escaping of Output Affecting github.com/wei-shaw/sub2api/backend/internal/config package, versions <0.1.85


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (16th 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-GITHUBCOMWEISHAWSUB2APIBACKENDINTERNALCONFIG-15367447
  • published2 Mar 2026
  • disclosed26 Feb 2026
  • creditLulaide

Introduced: 26 Feb 2026

CVE-2026-27812  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade github.com/Wei-Shaw/sub2api/backend/internal/config to version 0.1.85 or higher.

Overview

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the forgot password process. An attacker can gain unauthorized access to user accounts by manipulating the Host header to injecting custom domains into the password reset link sent to users.

Workaround

This vulnerability can be mitigated by disabling the forgot password feature until the software is upgraded.

References

CVSS Base Scores

version 4.0
version 3.1