CVE-2025-64716: Github.com/TecharoHQ/anubis Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-cf57-c578-7jvv
CVSS 0.0
CWE-601 CWE-79
Published
Advisory Summary

CVE-2025-64716 is a MODERATE (CVSS 0.0) cross-site scripting vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Github.com/TecharoHQ/anubis libraries in the Go ecosystem. The issue involves anubis vulnerable to possible xss via redir parameter when using subrequest auth mode. Remediation is available by upgrading affected packages to version 1.23.0.

CVE-2025-64716 at a Glance

CVE Identifier CVE-2025-64716
GHSA Identifier GHSA-cf57-c578-7jvv
Severity MODERATE
CVSS v3.1 Base Score 0.0
CWE Classification CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
Affected Product Github.com/TecharoHQ/anubis
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 0.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-64716

To remediate this vulnerability, upgrade all affected Github.com/TecharoHQ/anubis dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/TecharoHQ/anubis fixed: 1.23.0
Upgrade github.com/TecharoHQ/anubis to 1.23.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/TecharoHQ/anubis

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-64716, inspect your project dependencies for Github.com/TecharoHQ/anubis:

inspect dependencies for github.com/TecharoHQ/anubis

Analyze the terminal output to locate any version of Github.com/TecharoHQ/anubis in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.23.0), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Github.com/TecharoHQ/anubis, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary When using subrequest authentication, Anubis did not perform validation of the redirect URL and redirects user to any URL scheme. While most modern browsers do not allow a redirect to `javascript:` URLs, it could still trigger dangerous behavior in some cases. `GET https://example.com/.within.website/?redir=javascript:alert()` responds with `Location: javascript:alert()`. ### Impact Anybody with a subrequest authentication seems affected. Using `javascript:` URLs will probably be blocked by most modern browsers, but using custom protocols for third-party applications might still trigger dangerous operations. ### Note This was originally reported by @mbiesiad against Weblate.

CVE-2025-64716 Affected Github.com/TecharoHQ/anubis Versions

1 component(s)
Fixed Versions:
1.23.0
Product / Package Ecosystem Affected Versions Fixed Version
github.com/TecharoHQ/anubis
Go
< 1.23.0
1.23.0

References

Frequently Asked Questions

What is CVE-2025-64716?
CVE-2025-64716 is a security vulnerability in Github.com/TecharoHQ/anubis involving Anubis vulnerable to possible XSS via redir parameter when using subrequest auth mode under CWE-601: URL Redirection to Untrusted Site ('Open Redirect').
Which Github.com/TecharoHQ/anubis versions are affected?
Affected versions include releases prior to 1.23.0 across affected packages: github.com/TecharoHQ/anubis.
What version fixes CVE-2025-64716?
Upgrading to 1.23.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/TecharoHQ/anubis affected?
Yes, github.com/TecharoHQ/anubis is affected in releases prior to 1.23.0. Upgrade your dependency to 1.23.0 or later.
What is the CVSS score of CVE-2025-64716?
CVE-2025-64716 has a CVSS v3.1 base score of 0.0 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N.
What CWE is associated with CVE-2025-64716?
CVE-2025-64716 is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect') (The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.).
How can I check Go dependencies for CVE-2025-64716?
Run the dependency tree command: 'inspect dependencies for github.com/TecharoHQ/anubis'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-cf57-c578-7jvv",
  "modified" : "2025-11-15T03:11:17Z",
  "published" : "2025-10-30T17:08:12Z",
  "aliases" : [ "CVE-2025-64716" ],
  "summary" : "Anubis vulnerable to possible XSS via redir parameter when using subrequest auth mode",
  "details" : "### Summary\n\nWhen using subrequest authentication, Anubis did not perform validation of the redirect URL and redirects user to any URL scheme. While most modern browsers do not allow a redirect to `javascript:` URLs, it could still trigger dangerous behavior in some cases.\n\n`GET https://example.com/.within.website/?redir=javascript:alert()` responds with `Location: javascript:alert()`.\n\n### Impact\n\nAnybody with a subrequest authentication seems affected. Using `javascript:` URLs will probably be blocked by most modern browsers, but using custom protocols for third-party applications might still trigger dangerous operations.\n\n### Note\n\nThis was originally reported by @mbiesiad against Weblate.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:H/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/TecharoHQ/anubis"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.23.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/TecharoHQ/anubis/security/advisories/GHSA-cf57-c578-7jvv"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-64716"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/TecharoHQ/anubis/commit/7ed1753fcced351c81961bf520a7bfb2caac6e88"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/TecharoHQ/anubis"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2025-4086"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-601", "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-30T17:08:12Z",
    "nvd_published_at" : "2025-11-13T03:16:29Z"
  }
}