Cross-site scripting in authentik - CVE-2026-42849

 

Cross-site scripting in authentik - CVE-2026-42849

Published: May 12, 2026


Vulnerability identifier: #VU131245
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
CVE-ID: CVE-2026-42849
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Authentik Security Inc
Affected software:
authentik

Detailed vulnerability description

The vulnerability allows a remote attacker to perform cross-site scripting and hijack the session.

The vulnerability exists due to cross-site scripting in the AutosubmitStage in the SFE (Simple Flow Executor) when handling malicious input values in OAuth2 provider parameters. A remote attacker can supply a crafted redirect_uri or state value to perform cross-site scripting and hijack the session.

User interaction is required, and exploitation is possible when an OAuth2 provider is configured.


How to mitigate CVE-2026-42849

Install security update from vendor's website.

Sources