Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft OpenAM link with malicious goto/gotoOnFail
-
DeliveryPhish victim into clicking trusted OpenAM URL
-
ExploitXUI reflects goto/gotoOnFail without validation
-
ExecutionScript executes on OpenAM origin
-
ImpactSteal session cookie and hijack account
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 | Two distinct exposures: (1) Open redirect affects any realm whose 'Valid goto URL Resources' list is empty - the default on a new install and left unchanged by upgrade - so goto/gotoOnFail accept any destination; (2) XSS affects every deployment that serves the XUI (OpenAM's default UI) regardless of realm configuration, because the XUI honors the goto/gotoOnFail in its own address and does not refuse script URLs, triggerable via the XUI logout page with no session, the login page for a user with an existing session, or after a failed login. Cookie theft is possible because the session cookie is not HttpOnly by default. Limiting factors: the victim must follow the crafted link (UI:P), impact is bounded to session hijack/redirect rather than direct server code execution, and the open-redirect leg is mitigated in any realm that has already populated Valid goto URL Resources (though that did not previously restrict the XUI). |
| Impact | The supplied CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N, base 5.3, Medium) describes a network-reachable, unauthenticated flaw that nonetheless needs victim interaction (UI:P) and yields only Low confidentiality/integrity impact - consistent with a reflected XSS plus open redirect rather than direct server compromise. The vuln.today decision label is 'this_month' (not act_now/emergency), aligning with a moderate-but-not-urgent posture. No KEV status is present in the input, so there is no confirmed active exploitation; no EPSS score is provided, so statistical exploitation probability cannot be weighed; and no verified public exploit is supplied - the GHSA advisory explicitly states technical details are deliberately withheld to give operators time to upgrade. The realistic risk driver is that the XSS executes on the OpenAM origin and, because the session cookie is not HttpOnly by default, can steal the session of any user including an administrator across every application OpenAM protects - a high consequence gated by the need to lure a victim into clicking a crafted but genuine-looking OpenAM link. Missing signals: EPSS and KEV are both absent from the input, so widespread-versus-targeted exploitation cannot be judged from the data provided. |
| Exploit ScenarioDerived | An attacker crafts a legitimate OpenAM login or logout URL carrying a malicious goto or gotoOnFail value and delivers it by phishing; because it starts with the trusted OpenAM domain it passes proxies and mail filters. When the victim follows it, they are either redirected to an attacker page (e.g. a fake 'session expired, sign in again' prompt right after a real login) or, via the XUI, have attacker script run on the OpenAM origin that reads their non-HttpOnly session cookie and acts as that user. No public exploit is identified and the advisory withholds technical details at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
OpenAM releases up to and including 16.1.3 can be induced to send a victim's browser to an attacker-chosen destination, and to run attacker script on the OpenAM origin, through the goto and gotoOnFail parameters used after login, failed login and logout. Two exposures combine: any realm whose Valid goto URL Resources list is empty (the default on a new install, and unchanged by an upgrade) accepts every destination, and the XUI - OpenAM's default user interface - follows the goto/gotoOnFail found in its own address regardless of the server's decision and does not refuse script URLs. The flaw is network-reachable and unauthenticated (CVSS 4.0 PR:N) but requires the victim to follow a crafted link (UI:P) and yields only Low confidentiality/integrity impact, matching the assessed CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N; there is no confirmed active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis, and the vendor priority is this_month. Because the session cookie is not HttpOnly by default, script run this way can read the OpenAM session cookie and act as the victim, an administrator included, across every application protected by OpenAM.
RemediationAI
Vendor-released patch: OpenAM 16.1.4, available from the OpenIdentityPlatform project, with details in the GitHub advisory https://github.com/OpenIdentityPlatform/OpenAM/security/advisories/GHSA-2gwf-vxp5-f9v2. In 16.1.4, goto and gotoOnFail are limited to URLs on the OpenAM deployment itself when a realm has no Valid goto URL Resources, and the XUI follows only a destination the server has accepted, and only an http or https one. Plan the upgrade order carefully: a deployment that sends users after login to applications on other hosts - including the applications policy agents send users back to - must list those destinations in Valid goto URL Resources of each realm before upgrading, or users will land on the default page. Because the XUI previously ignored the list, an already populated list now restricts XUI logins for the first time and must be reviewed as well; the same list now also decides the TARGET of the SAML 1.x artifact and POST profiles and the wreply of a WS-Federation sign-in request where OpenAM is the relying party, and a cross-domain logout goto is followed by the XUI only while the session is still active. Where the list cannot be populated in time, the advanced server property org.openidentityplatform.openam.auth.goto.allowAnyUrlWithoutWhitelist set to true restores the previous meaning of an empty list; it is intended to keep an upgrade moving rather than to stay in place, and it does not bring back script URLs in the XUI. Interim workarounds before 16.1.4 is deployed: set the advanced server property com.sun.identity.cookie.httponly to true so script run through these links cannot read the session cookie, after first confirming that no integration reads that cookie from browser script; configure Valid goto URL Resources in every realm, including the top level realm and every sub-realm, since each realm uses its own list and a link can name any realm (note this list is honoured by the classic UI and the authentication REST API but not by the XUI); and filter goto and gotoOnFail at the reverse proxy on requests to the login and logout pages, admitting only relative URLs and your own applications - this narrows rather than closes the exposure because it cannot see a goto placed in the fragment of an XUI link, which the browser never sends to the server. Users should also be told that a link starting with the OpenAM address can still lead elsewhere, and to check the address before entering credentials again.
Affected VersionsENISA
Affected Packages
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
The issue spans two weakness classes, CWE-601 (URL redirection to an untrusted site) and CWE-79 (cross-site scripting), both routed through the same pair of request parameters, goto and gotoOnFail, which OpenAM uses to decide where to send the browser after a successful login, a failed login, or a logout. OpenAM normally validates those values against the per-realm Valid goto URL Resources list of the Validation Service (Realms > Realm Name > Services > Validation Service). The first weakness is a policy gap: when that list is empty - which is the default on a new installation and is not changed by an upgrade - the check accepts every URL. The second weakness is architectural: the XUI (openam-ui-ria) does not follow the server's decision at all, picking up goto and gotoOnFail from its own address after login, after a failed login and on logout, so even a fully populated Valid goto URL Resources list did not previously constrain XUI destinations, and a script URL is not refused, allowing script execution on the OpenAM origin. The XUI leg is triggerable through the XUI logout page without any session, the XUI login page for a user who already holds a session, and after a failed XUI login. Confidentiality and integrity exposure depend on cookie handling: the advanced server property com.sun.identity.cookie.httponly is not enabled by default, so script running on the OpenAM origin can read the session cookie. The affected Maven artifacts are openam-core, openam-core-rest, openam-server-only and openam-ui-ria, all at versions up to and including 16.1.3; the trigger path for either leg beyond the parameter handling described in the advisory is not otherwise detailed in the available sources, since technical details were deliberately withheld to allow operators time to upgrade.
Know when Openam 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Unauthenticated network-delivered link requiring the victim to click (UI:R); script runs in the browser on the OpenAM origin crossing a trust boundary (S:C) with limited cookie read (C:L) and limited redirect/script integrity impact (I:L), no availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenAM before 16.1.4 contains an open redirect and cross-site scripting vulnerability that allows remote attackers to control post-login and logout destinations via the goto and gotoOnFail parameters. Attackers can craft OpenAM login or logout links that redirect victims to phishing sites or run script in the XUI to steal session cookies.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in OpenAM Authentication Bypass and SSRF Flaws
View all 18ForgeRock OpenAM before 13.5.1 allows LDAP injection via the Webfinger protocol. Rated high severity (CVSS 7.5), this vu
Open Access Management (OpenAM) is an access management solution that includes Authentication, SSO, Authorization, Feder
Unauthenticated remote attackers can instantiate arbitrary Java classes in OpenIdentityPlatform OpenAM before 16.1.3 thr
OpenAM (Open Source Edition) allows an attacker to bypass authentication and access unauthorized contents via unspecifie
XML External Entity (XXE) Vulnerability in /SSOPOST/metaAlias/%realm%/idpv2 in OpenAM - Access Management 10.1.0 allows
OAuth 2.0 PKCE enforcement bypass in OpenAM before 16.1.3 allows an attacker who intercepts an authorization code issued
EUVD-2026-119431
GHSA-xg4f-9v56-jq95
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB