CVE-2026-106033

Ansible: ansible-ui: ansible ui dom xss in /redirect next parameter

Published Oct 6, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
A DOM-based Cross-Site Scripting (XSS) vulnerability exists in the Ansible Platform UI due to unvalidated input handling within the application's redirect route. Specifically, the application extracts a target destination from the next query parameter and directly assigns it to the browser's location.href without verifying its format or scheme. The platform includes built-in URL validation functions designed to block malicious URI schemes (such as javascript: and data:) as well as off-site or protocol-relative redirects, this specific route bypasses those controls. Consequently, an attacker can craft a malicious link that, when accessed by an authenticated user, causes arbitrary JavaScript to execute within the context of the user's session.

Analysis

AI-generated

Technical impact

Ansible Platform UI contains a DOM‑based cross‑site scripting flaw that arises from the unvalidated 'next' query parameter used for redirects. The parameter is inserted directly into window.location.href, bypassing the platform’s built‑in URL sanitization such as checks for javascript: or data: schemes. When an authenticated user navigates to a crafted link, malicious JavaScript executes in the context of that user’s session, enabling credential theft or arbitrary code execution.

Affected Systems

The flaw affects Red Hat Ansible Automation Platform 2 and associated deployments that include the UI, such as Red Hat Hardened Images. The advisory does not list specific patch versions, but all installations of the affected platform component are potentially vulnerable.

Risk and Exploitability

The vulnerability has a CVSS score of 5.4, indicating moderate severity. Exploitation is performed via the web interface by delivering a malicious link that a logged‑in user opens; no additional privileges or local access are required. The EPSS score is unavailable, and the flaw is not listed in CISA KEV, suggesting limited widespread exploitation at present, though an authenticated user’s session can be compromised if the malicious link is clicked.

Remediation

Vendor Workaround

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.


OpenCVE Recommended Actions

  • Apply the latest Red Hat Ansible Automation Platform 2 updates that contain the XSS fix.
  • Restrict or validate the redirect 'next' parameter by configuring the platform to enforce whitelisting or disable arbitrary URL redirects.
  • Educate users to avoid clicking untrusted links within the Ansible UI and enforce a policy that requires verifying link destinations before opening them.

Generated by OpenCVE AI on October 6, 2026 at 19:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ansible
Ansible ansible
Redhat hardened Images
Vendors & Products Ansible
Ansible ansible
Redhat hardened Images
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A DOM-based Cross-Site Scripting (XSS) vulnerability exists in the Ansible Platform UI due to unvalidated input handling within the application's redirect route. Specifically, the application extracts a target destination from the next query parameter and directly assigns it to the browser's location.href without verifying its format or scheme. The platform includes built-in URL validation functions designed to block malicious URI schemes (such as javascript: and data:) as well as off-site or protocol-relative redirects, this specific route bypasses those controls. Consequently, an attacker can craft a malicious link that, when accessed by an authenticated user, causes arbitrary JavaScript to execute within the context of the user's session.
Title Ansible: ansible-ui: ansible ui dom xss in /redirect next parameter
First Time appeared Redhat
Redhat ansible Automation Platform
Redhat hummingbird
Weaknesses CWE-79
CPEs cpe:/a:redhat:ansible_automation_platform:2
cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat
Redhat ansible Automation Platform
Redhat hummingbird
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 5, 2026, 3:53 PM
Reserved
Oct 6, 2026, 1:41 PM
Status
Awaiting Analysis
Published
Oct 6, 2026, 7:17 PM
Modified
Oct 7, 2026, 12:17 PM
Severity
Moderate
Public date
Oct 6, 2026, 12:00 AM