GHSA-6rx5-m2rc-hmf7

Suggest an improvement
Source
https://github.com/advisories/GHSA-6rx5-m2rc-hmf7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-6rx5-m2rc-hmf7/GHSA-6rx5-m2rc-hmf7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6rx5-m2rc-hmf7
Aliases
Published
2026-03-04T22:53:42Z
Modified
2026-03-23T04:56:12.011800612Z
Severity
  • 7.7 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:N CVSS Calculator
Summary
ZITADEL: Stored XSS via Default URI Redirect Leads to Account Takeover
Details

Summary

A vulnerability in Zitadel's login V2 interface was discovered, allowing for possible account takeover.

Impact

Zitadel allows organization administrators to change the default redirect URI for their organization. This setting enables them to redirect users to an arbitrary location after they log in.

Due to missing restrictions and improper handling, malicious javascrtipt code could be executed in Zitadel login UI (v2) using the users’ browser.

An unauthenticated remote attacker can exploit this Stored XSS vulnerability, reset the password of their victims, and take over their accounts.

It's important to note that this specific attack vector is mitigated for accounts that have Multi-Factor Authentication (MFA) or Passwordless authentication enabled.Stored XSS vulnerability.

Affected Versions

Systems running one of the following versions are affected: - 4.x: 4.0.0 through 4.11.1 (including RC versions)

Patches

The vulnerability has been addressed in the latest releases. The login UI prevents execution of such code. Additionally, the page to change the password, now always requires the user's current password regardless of the state of the authenticated session.

4.x: Upgrade to >= 4.12.0

Workarounds

The recommended solution is to upgrade to a patched version.

Questions

If there are any questions or comments about this advisory, please send an email to security@zitadel.com

Credits

ZITADEL extends thanks once again to Amit Laish from GE Vernova for finding and reporting the vulnerability.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-03-04T22:53:42Z",
    "nvd_published_at": "2026-03-07T15:15:55Z",
    "severity": "HIGH",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Go / github.com/zitadel/zitadel/v2

Package

Name
github.com/zitadel/zitadel/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/zitadel/zitadel/v2

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
4.12.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-6rx5-m2rc-hmf7/GHSA-6rx5-m2rc-hmf7.json"

Go / github.com/zitadel/zitadel

Package

Name
github.com/zitadel/zitadel
View open source insights on deps.dev
Purl
pkg:golang/github.com/zitadel/zitadel

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
4.12.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/03/GHSA-6rx5-m2rc-hmf7/GHSA-6rx5-m2rc-hmf7.json"