CVE-2026-109131

Ansible-ui: ansible-ui: stored xss via unsafe javascript url scheme in hub collection module documentation (formatparturl)

Published Oct 15, 2026 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
Description
The Hub collection module documentation renderer in the unified Ansible Automation Platform UI (built from upstream ansible-ui, frontend/hub) renders a documentation URL part (formatPartURL in DocumentationParsers.tsx) as a link without restricting the URL protocol/scheme. A collection whose documentation contains a link using a script-executing URL scheme can therefore cause script to run in the same origin as the Hub UI when another authenticated user views and activates that link in the collection documentation page. This is a stored cross-site scripting issue in shipped Platform UI code (present in the AAP 2.6 and 2.7 release branches).

Analysis

AI-generated

Technical impact

The vulnerability resides in the Hub collection module documentation renderer of the Ansible Automation Platform UI. When a collection includes a documentation link that contains a script-executing URL scheme, the renderer outputs the link without sanitizing the protocol, allowing an attacker to store malicious JavaScript. When another authenticated user views and activates that link, the script executes in the same origin as the Hub UI, potentially compromising the user’s session and allowing data theft or further attacks. This is a stored cross‑site scripting flaw (CWE‑79) that can affect confidentiality, integrity, and availability of the UI session.

Affected Systems

Red Hat Ansible Automation Platform versions 2.6 and 2.7 are affected. The issue exists in the AAP 2.6 and 2.7 release branches and affects all deployments of the Unified UI that use Hub collection documentation rendering.

Risk and Exploitability

The CVSS score of 5.4 indicates a medium severity flaw. The EPSS score is not available, and the vulnerability is not currently listed in the CISA KEV catalog, suggesting it is not widely exploited at this time but remains a legitimate threat. The attack vector requires an authenticated user with the ability to create or modify a collection containing malicious documentation, and another authenticated user who visits the collection’s documentation page to trigger execution. Because the script runs in the same origin, successful exploitation can lead to credential theft, session hijacking, and potentially full system compromise if privileged user interactions occur. The risk is moderate, but the potential impact warrants timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install the latest security update from Red Hat that addresses the XSS issue in the Ansible Automation Platform UI.
  • Remove or sanitize any documentation URLs that use script‑executing schemes (e.g., javascript:, data:, etc.) from Hub collection documentation until a patch is applied.
  • Restrict access to collection documentation to users with higher privileges or enforce authentication before viewing to reduce the likelihood of unexpected script execution.

Generated by OpenCVE AI on October 16, 2026 at 06:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
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 The Hub collection module documentation renderer in the unified Ansible Automation Platform UI (built from upstream ansible-ui, frontend/hub) renders a documentation URL part (formatPartURL in DocumentationParsers.tsx) as a link without restricting the URL protocol/scheme. A collection whose documentation contains a link using a script-executing URL scheme can therefore cause script to run in the same origin as the Hub UI when another authenticated user views and activates that link in the collection documentation page. This is a stored cross-site scripting issue in shipped Platform UI code (present in the AAP 2.6 and 2.7 release branches).
Title Ansible-ui: ansible-ui: stored xss via unsafe javascript url scheme in hub collection module documentation (formatparturl)
First Time appeared Redhat
Redhat ansible Automation Platform
Weaknesses CWE-79
CPEs cpe:/a:redhat:ansible_automation_platform:2
Vendors & Products Redhat
Redhat ansible Automation Platform
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:56 PM
Reserved
Oct 12, 2026, 10:33 AM
Status
Awaiting Analysis
Published
Oct 15, 2026, 7:17 PM
Modified
Oct 19, 2026, 4:17 PM
Severity
Moderate
Public date
Oct 15, 2026, 5:14 PM