CVE-2026-115987: Reflected XSS in the rules include endpoint
Improper neutralization of input in the rules include endpoint (/api/portlet/rules/include) in dotCMS versions before 26.04.30-01, 25.07.10 LTS before v10 and 24.12.27 LTS before v20 allows request parameters to be written into the page's JavaScript without validation or encoding. An unauthenticated attacker can craft a link that, when opened by a logged-in back-end user, runs script in that user's authenticated dotCMS session (reflected cross-site scripting). Malformed identifiers also caused a server error page instead of a proper HTTP error. Fixed in 26.04.30-01 and later: the id parameter is validated, invalid or unknown identifiers return 400 or 404, and request values are encoded before they are written into the page.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.04.30-01 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10 LTS v10
Event History
Frequently Asked Questions
Who is realistically exposed to this issue?
dotCMS deployments running versions before 26.04.30-01, 25.07.10 LTS v10, or 24.12.27 LTS v20 are affected. Exploitation targets logged-in back-end users rather than requiring the attacker to authenticate.
What does an attacker need to exploit it?
An unauthenticated attacker needs to craft a malicious link to the rules include endpoint and convince a logged-in dotCMS back-end user to open it. The injected script then executes in that user’s authenticated dotCMS session.
How can we tell whether the issue is fixed?
The fix validates the id parameter, returns HTTP 400 for invalid identifiers and 404 for unknown identifiers, and encodes request values before writing them into the page. Versions 26.04.30-01 and later include these changes, as do the stated LTS fixed releases.