Improper neutralization of input in the SAML login callback (DotSamlResource and RedirectUtil) in dotCMS versions before 26.10.19-01, and 25.07.10 LTS before v24, allows the post-login destination, taken from the original request or the SAML RelayState, to be written unencoded and unvalidated into the HTML redirect page returned after a successful SAML login. An unauthenticated attacker can craft a link that, once the victim signs in through the identity provider, runs script on the dotCMS origin in the victim's new session or sends the victim to an external site. Only installations with SAML login configured are affected. Fixed in 26.10.19-01 and later: the redirect page is HTML-attribute-encoded, and the post-login destination is followed only when it points to the same site, one of its aliases, or a host listed in the new auth.relaystate.allowed.hosts setting.

Project Subscriptions

No data.

Advisories

No advisories yet.

Fixes

Solution

Upgrade to dotCMS 26.10.19-01 or later, or to 25.07.10 LTS v24 or later.


Workaround

No workaround given by the vendor.

History

Fri, 04 Dec 2026 19:45:00 +0000

Type Values Removed Values Added
Description Improper neutralization of input in the SAML login callback (DotSamlResource and RedirectUtil) in dotCMS versions before 26.10.19-01, and 25.07.10 LTS before v24, allows the post-login destination, taken from the original request or the SAML RelayState, to be written unencoded and unvalidated into the HTML redirect page returned after a successful SAML login. An unauthenticated attacker can craft a link that, once the victim signs in through the identity provider, runs script on the dotCMS origin in the victim's new session or sends the victim to an external site. Only installations with SAML login configured are affected. Fixed in 26.10.19-01 and later: the redirect page is HTML-attribute-encoded, and the post-login destination is followed only when it points to the same site, one of its aliases, or a host listed in the new auth.relaystate.allowed.hosts setting.
Title XSS and open redirect in the SAML login callback
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 2.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: dotCMS

Published:

Updated: 2026-12-04T19:40:11.797Z

Reserved: 2026-10-24T08:01:30.280Z

Link: CVE-2026-115990

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-04T20:19:13.840

Modified: 2026-12-04T20:19:13.840

Link: CVE-2026-115990

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses