Skip to main content

Janssen Auth Server EUVDEUVD-2026-143419

| CVE-2026-77291 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-12-03 GitHub_M
9.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft end_session URL with malicious state
  2. Delivery
    Deliver link to authenticated victim
  3. Exploit
    Victim click reflects unescaped payload
  4. Execution
    JavaScript executes in auth-server origin
  5. Impact
    Exfiltrate session cookies and OAuth tokens

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a victim who already has an active session at the Janssen auth server to follow an attacker-crafted /jans-auth/restv1/end_session link that supplies a valid id_token_hint, a post_logout_redirect_uri, and a malicious state parameter; the state value is attacker-controlled by OAuth/OIDC design and is concatenated unescaped into a <script> window.location string literal, so a single quote breaks out and executes arbitrary JavaScript in the AS origin. Limiting factors: the attacker is unauthenticated (PR:N) but exploitation depends on user interaction (UI:R) - the targeted user must click the link while authenticated. Default deployments provide no browser-side mitigation because the Apache template (community-edition-setup/templates/apache/https_gluu.conf) ships with the Content-Security-Policy header commented out, and even if enabled its 'unsafe-inline' script-src would not block this injection.

Impact

Signals converge toward a genuine priority rather than a CVSS-inflated non-issue. The vuln.today decision label is act_now, and the flaw sits in the end-session endpoint of an identity and access management auth server, so successful injection runs JavaScript in the authorization server's own origin - enabling theft of session cookies, OAuth tokens stashed in localStorage, and same-origin authenticated requests. The CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N, computing to 9.3) is internally consistent: network reach, low complexity, no attacker authentication, scope change into the user's authenticated context, and high confidentiality/integrity impact. The key tempering factor is UI:R - a victim who already holds an active session must follow an attacker-crafted link, making this phishing-driven and targeted rather than a wormable mass-exploitation bug. No EPSS score was provided and the CVE is not listed in CISA KEV, so there is no quantitative exploitation-probability signal and no confirmation of active exploitation; the act_now label here reflects the IAM blast radius and a public PoC reference in the advisory, not observed in-the-wild activity. Overall: high real-world severity, but exploitation realistically requires luring an already-authenticated user.

Exploit ScenarioDerived

An attacker crafts a /jans-auth/restv1/end_session URL with a valid id_token_hint, a post_logout_redirect_uri, and a state parameter containing JavaScript that breaks out of the script-block string literal, then phishes it to a user holding an active session at the Janssen auth server. When the victim follows the link, the injected code executes in the auth server's origin and can exfiltrate session cookies and OAuth tokens. A crafted-URL PoC is shown in the GHSA advisory; it is not verified as working standalone exploit code.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Dec 03, 2026

Reflected cross-site scripting in the Janssen Auth Server end-session endpoint lets an unauthenticated remote attacker execute arbitrary JavaScript in the identity provider's origin when an already-authenticated victim follows a crafted /jans-auth/restv1/end_session link supplying a valid id_token_hint, a post_logout_redirect_uri and a malicious state value (CVSS 3.1 base 9.3, AV:N/AC:L/PR:N/UI:R/S:C). Confidentiality and integrity impact are rated high because the injected script runs same-origin with the auth server and can read cookies, localStorage-held OAuth client tokens and issue authenticated fetches. The Janssen Project patched the flaw in 2.2.0, and while the vendor advisory GHSA-vxgw-mxhf-2m6f includes a crafted-URL proof-of-concept reference, that reference is not verified as working exploit code and there is no confirmed active exploitation (CISA KEV); the vuln.today decision label is act_now.

RemediationAI

Vendor-released patch: upgrade Janssen Auth Server to 2.2.0 (or 0.0.0-nightly) - see https://github.com/JanssenProject/jans/releases/tag/v2.2.0 and advisory https://github.com/JanssenProject/jans/security/advisories/GHSA-vxgw-mxhf-2m6f. The upstream fix JSON-encodes postLogoutUrl and state into a valid JavaScript string literal (JsonUtil.toJson) instead of concatenating them into the script body, and applies HTML-escaping to logoutUri values placed in iframe src attributes; custom forks should port that change. Operators who cannot upgrade immediately can reduce exposure by enabling and tightening the Content-Security-Policy header in community-edition-setup/templates/apache/https_gluu.conf, removing 'unsafe-inline' from script-src - noting the trade-off that the shipped template leaves this header commented out and that the suggested policy value still permits inline script, so CSP as provided is not an effective control against this injection and tightening it may break inline scripts the auth-server UI relies on. Because exploitation requires the victim to click a crafted end_session link while authenticated, treat unsolicited logout links as untrusted, but there is no configuration toggle documented that removes the vulnerable front-channel rendering path.

Affected VersionsENISA

jans < 2.2.0

Affected Packages

euvd jans fix: 2.2.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Janssen Auth Server is a Java-based OpenID Connect / OAuth 2.0 authorization server (Maven artifact io.jans.jans-auth-server) that implements RP-initiated logout, where the state parameter is, by OAuth/OIDC design, attacker-influenced and round-trips through the user agent. In EndSessionUtils.createFronthannelHtml (jans-auth-server/server/src/main/java/io/jans/as/server/session/ws/rs/EndSessionUtils.java:77-101), the postLogoutUrl is built by string concatenation of the state value and then emitted as part of an HTML response containing window.location='<postLogoutUrl>' inside a <script> block. Because the injection point is a JavaScript string literal rather than an HTML attribute, HTML-context escaping does not neutralise it: a single quote breaks out of the literal and yields arbitrary script execution in the auth server's origin (CWE-79, reflected XSS). The same method also inserts logoutUri values into iframe src attributes, which is an HTML-attribute context requiring HTML escaping. Default deployments have no browser-side mitigation because the shipped Apache template community-edition-setup/templates/apache/https_gluu.conf leaves the Content-Security-Policy header commented out, and the proposed policy value itself contains 'unsafe-inline' in script-src so it would not block this injection even if enabled.

Know when Jans gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 9.3 CRITICAL
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 9.3 CRITICAL

Unauthenticated attacker (PR:N) injects JS executing in the auth server's origin, a scope change (S:C) enabling token/cookie theft (C:H) and same-origin authenticated requests (I:H); victim must click the link (UI:R).

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Dec 03, 2026 - 17:19 EUVD
CVE Published
Dec 03, 2026 - 15:34 cve.org
CRITICAL 9.3

DescriptionCVE.org

The Janssen Project is an open-source identity and access management (IAM) platform. Prior to version 2.2.0, there is a reflected XSS vulnerability (JavaScript context) in EndSessionUtils. This issue has been patched in version 2.2.0.

Technical POC Analysis

Reflected XSS, CWE-79.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A critical reflected cross-site scripting vulnerability in the Janssen Auth Server's end-session endpoint allows an unauthenticated attacker to execute arbitrary JavaScript in the identity provider's origin when an authenticated victim follows a crafted link. This could enable theft of OAuth tokens and session cookies, potentially leading to account takeover and compromise of federated identity services. Leadership should prioritize remediation because the auth server is a central trust component affecting all integrated applications and users.

Business Impact: Severe
Compensating Controls

Apply vendor patch: 2.2.0

Threat Intelligence Overview

EPSS Score
0.5%
Top 56% exploitable
Prevalence
Low
niche open-source IAM platform, limited production deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy