Read the docs

Cross-site scripting and open redirect in dotCMS SAML login callback

Priority LOW 26CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Active
Attack complexity
Low
Attack requirements
Present
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · None · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

dotCMS versions before 26.10.19-01 and from 25.07.10 before 25.07.10_lts_v24 are affected. Improper input neutralization in the SAML login callback writes the post-login destination into the HTML redirect page unencoded (CWE-79). An unauthenticated attacker can craft a link that runs script on the dotCMS origin or sends the victim to an external site after SAML sign-in. Only installations with SAML login configured are affected.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

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.

Why it matters now

Fix Fixed dotCMS (dotCMS): 26.10.19-01, 25.07.10_lts_v24

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
dotCMSdotCMSbefore 26.10.19-01; 25.07.10 to before 25.07.10_lts_v2426.10.19-01, 25.07.10_lts_v24Patch availableCNA
  • dotCMS VendordotCMS Affected before 26.10.19-01; 25.07.10 to before 25.07.10_lts_v24 Fixed in 26.10.19-01, 25.07.10_lts_v24 Patch available CNA

Remediation

Upgrade to dotCMS 26.10.19-01 or 25.07.10_lts_v24, which HTML-attribute-encode the redirect page and follow post-login destinations only for the same site, its aliases, or hosts listed in the auth.relaystate.allowed.hosts setting.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA dotCMS (dotCMS) Fixed in 26.10.19-01, 25.07.10_lts_v24

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-115990

References

  • TI-2022-09726 Directory traversal in dotCMS ContentResource API allows file upload KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-05479 dotCMS before 5.2.4 is vulnerable to directory traversal, leading to incorrect access… CVSS 3.1CRITICAL 9.8
  • TI-2026-104432 Velocity sandbox escape in dotCMS lets template authors run code CVSS 4.0CRITICAL 9.4
  • TI-2026-104360 Remote code execution in dotCMS through push publishing CVSS 4.0CRITICAL 9.4
  • TI-2026-104356 Velocity sandbox escape in dotCMS allows command execution CVSS 4.0CRITICAL 9.4
  • TI-2026-104355 RCE via WebDAV path traversal by any authenticated user CVSS 4.0CRITICAL 9.4
See all 167 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences