Ansible: ansible-ui: ansible ui dom xss in /redirect next parameter (Red Hat Red Hat Ansible Automation Platform 2)

CVE-2026-106033
MEDIUM 5.4

At a glance

Source
NVD
EPSS
EPSS 0.24 % Β· percentile 15 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Awaiting Analysis

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.

Weaknesses (CWE)

  • CWE-79 β€” Improper Neutralization of Input During Web Page Generation

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:Nredhat
CVSS 3.1MEDIUM 5.4CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NNVD Β· secalert@redhat.com (Secondary)

European references

Affected products

ProductVersions
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Ansible Automation Platform 2
Red Hat Β· Red Hat Hardened Images

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD