OpenAM is a Java access-management server, published as OpenIdentityPlatform/OpenAM. When an OAuth 2.0 authorization request fails before OpenAM can redirect back to the client, it renders a diagnostic page, and one of the places that page writes request details into the browser DOM does so without HTML-encoding. The bug is GHSA-3m32-w9x3-vvq8, CVE-2026-105114. A crafted link at /oauth2/authorize runs script in the OpenAM origin before the victim has logged in, and 16.1.3 fixes it.
01Background: the error path of the OAuth2 authorization endpoint
The project ships its OAuth2 code as the Maven artifact org.openidentityplatform.openam:openam-oauth2. A deployment that acts as an identity provider turns OAuth2 on, registers at least one client, and serves the authorization endpoint at /oauth2/authorize for each tenant it hosts. That endpoint is the first hop of an authorization code or implicit flow: the browser arrives with the request parameters, and OpenAM either authenticates the user and redirects back to the client, or refuses.
The refusal path is the one that matters. A request can fail before any redirect is possible, for example when it repeats a parameter. OpenAM then renders an HTML page describing the failure instead of returning an OAuth error to the client. That page exists for malformed requests, so it is reachable without a session.
02Root cause: one unencoded insertion point on the failure page
The error page explains the failure by inserting details of the rejected request. One of those insertion points writes its value into the DOM without HTML-encoding. A caller-controlled value then breaks out of its context, and whatever follows is parsed as markup. That is enough to run script in the OpenAM origin.
The trigger named in the report is a repeated parameter. Duplicating a parameter in an authorization request makes it invalid early, so OpenAM takes the error branch and echoes the duplicated value back among the details of the failure. The advisory does not name the parameter, the template or the class involved. It went out ahead of the fixed release, and technical details were withheld until 16.1.3 shipped. No patch commit or code excerpt is public.
One page over, the same class of defect had already been fixed. The neighbouring OAuth2/OIDC consent page was hardened by CVE-2026-62280. The error page was not part of that round. The consent flow was audited; the failure flow beside it was not.
The workarounds give away the shape of the breakout. The advisory asks operators to reject authorization requests whose query string contains < or >. A filter on angle brackets only helps if the reflected value lands where a tag can open: an HTML element context, not an attribute or a script string.
03Impact: script on the identity provider's origin
A crafted link at /oauth2/authorize is enough. The victim follows it, the request fails, the error page reflects the payload, and JavaScript runs in the OpenAM origin before authentication. No special client configuration is required. OAuth2 has to be enabled and at least one client registered, which is the normal state of any deployment that uses the protocol.
The origin is where the sessions are. OpenAM holds them for every relying application, so script running there can act inside a session the victim already has at the provider, rewrite the page in front of them, or redirect to a phishing page that inherits the provider's look. The CVSS vector spells this out: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. Network reachable, low complexity, no privileges, one click of user interaction, scope changed because the vulnerable component is the provider rather than the client that sent the request. Confidentiality and integrity are Low, availability None, base score 6.1, severity Moderate.
The payload fires on the error page, so the victim never has to log in. The advisory's first title said so directly, calling it a pre-authentication reflected XSS, before the wording was shortened for publication.
04Affected versions
| Package | Affected | Patched |
|---|---|---|
org.openidentityplatform.openam:openam-oauth2 (Maven) | <= 16.1.2 | 16.1.3 |
Every OpenAM release up to and including 16.1.2 is affected. 16.1.3 carries the fix, and the advisory was published on 18 September 2026 without a CVE of its own. GitHub's page still shows No known CVE in the CVE ID field. A staff comment of 9 October 2026 explains why: the report appeared to duplicate an entry already in NVD, and pointed at CVE-2026-105114, the identifier NVD and VulnCheck use for the same issue.
05Remediation and interim workarounds
Upgrading to OpenAM 16.1.3 is the fix. Until that release is deployed, the advisory lists three measures that lower exposure without removing the reflection:
- Content-Security-Policy. Serve a policy on the OpenAM origin that disallows inline script. That stops the payload shape this issue relies on from executing even where the reflection is still in the response.
- Restrict the endpoint. At the reverse proxy, allow
/oauth2/authorizeonly from the networks that need it, where the deployment's OAuth2 clients are all internal. - Filter the query string. Where feasible, add a web application firewall rule that rejects authorization requests whose query string contains
<or>.
None of the three fixes the encoding defect. They cut the delivery path or the execution primitive, so treat them as cover for a staged upgrade, not as alternatives to 16.1.3.
06Timeline
- 2026-09-13Report opened privately by
Buggs777asGHSA-3m32-w9x3-vvq8. The reporter is credited the same day and accepts. - 2026-09-14
vharsekoaccepts the advisory, creates a temporary private fork, and requests a CVE from GitHub. - 2026-09-16Title shortened from the original pre-authentication wording to "OpenAM: reflected XSS on the OAuth2 authorization error page".
- 2026-09-17Private fork deleted and a second CVE request made.
- 2026-09-18Advisory published, fix in
16.1.3.tsujiguchitkyis credited as remediation verifier. - 2026-10-09GitHub staff decline to assign a CVE, noting the advisory appears to duplicate
CVE-2026-105114already recorded in NVD.