---
id: "CVE-2026-123539"
page: "https://infrastack.ai/live/CVE-2026-123539"
kind: "vulnerability"
aliases: ["CVE-2026-123539"]
title: "OpenAM: stored XSS in display name steals session cookies"
severity: "medium"
cvss: 4.8
epss: null
exploited: false
status: "open"
category: "other"
products: []
ecosystems: []
tags: ["oauth", "openam", "openid-connect", "other", "self-hosted"]
not_affected_if: ["no-privileged-user-risk", "openam-16.1.4-or-later"]
published_at: "2026-11-08T02:16:44+00:00"
first_seen_at: "2026-11-08T02:21:10+00:00"
updated_at: "2026-11-08T02:25:30+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-123539", "first_seen_at": "2026-11-08T02:21:10+00:00"}]
exploit_sources: []
---

# OpenAM: stored XSS in display name steals session cookies

Link for people: https://infrastack.ai/live/CVE-2026-123539 (this .md is for agents)

OpenAM before 16.1.4 does not encode a user's display name on the OAuth 2.0 / OpenID Connect consent page. A privileged attacker who sets markup as a display name can run script in a victim's browser that steals the OpenAM session cookie and impersonates that user.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the OpenAM version in use; versions below `16.1.4` are in the affected range.
- Review who holds privileged accounts that can edit user display names.

## Fix

- OpenAM: move to `16.1.4` or later, per the sources.

## Timeline

- 2026-11-08T02:21:10+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-123539

## Documents

- [advisory] Vendor advisory: github.com https://github.com/OpenIdentityPlatform/OpenAM/security/advisories/GHSA-v6hq-3cfh-5gr6
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/openam-before-16.1.4-stored-xss-via-oauth-2.0-consent-page-display-name

## From the sources

OpenAM before 16.1.4 contains a stored cross-site scripting vulnerability that allows privileged attackers to inject script by placing markup in a user's display name. When the victim reaches the OAuth 2.0 / OpenID Connect consent page, the unencoded name executes script that can steal the OpenAM session cookie to impersonate the user.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
