Skip to main content
Vulnerability Database/CVE-2026-109131

CVE-2026-109131: Ansible Automation Platform UI XSS Vulnerability

CVE-2026-109131 is a stored XSS flaw in Ansible Automation Platform UI that allows malicious scripts to execute when users view collection documentation. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-109131 Overview

CVE-2026-109131 is a stored cross-site scripting (XSS) vulnerability in the Hub collection module documentation renderer within the unified Ansible Automation Platform (AAP) UI. The flaw resides in the formatPartURL function in DocumentationParsers.tsx, which renders documentation URL parts as links without restricting the URL protocol or scheme. An authenticated user can publish a collection containing documentation that references a script-executing URL scheme. When another authenticated user views the collection documentation page and activates the link, the script runs in the same origin as the Hub UI. The issue affects shipped Platform UI code in the AAP 2.6 and 2.7 release branches [CWE-79].

Critical Impact

Stored XSS executes attacker-controlled script in the Hub UI origin, enabling session abuse against authenticated AAP users.

Affected Products

  • Red Hat Ansible Automation Platform 2.6
  • Red Hat Ansible Automation Platform 2.7
  • Unified AAP UI built from upstream ansible-ui (frontend/hub)

Discovery Timeline

  • 2026-10-15 - CVE-2026-109131 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-109131

Vulnerability Analysis

The Hub UI renders collection module documentation to help authenticated users explore available Ansible content. During rendering, the formatPartURL helper in DocumentationParsers.tsx converts documentation URL fragments into clickable anchors. The helper does not validate the URL scheme before emitting the href attribute.

An attacker who can publish or modify a collection in the Hub can embed documentation containing a link whose URL uses a script-executing scheme such as javascript:. The payload is stored in the collection content and persists until the collection is removed. When a second authenticated user navigates to the collection documentation page and clicks the crafted link, the browser executes the attacker-supplied script in the Hub origin.

Exploitation requires authentication, a crafted collection, and victim interaction with the malicious link. Successful execution grants the attacker read and limited write access to the victim's Hub session, including anything scoped to the same origin.

Root Cause

The root cause is missing output encoding and scheme allow-listing in the documentation URL renderer. formatPartURL treats arbitrary user-controlled URL strings as safe link targets. Browsers interpret script-executing schemes placed in an href attribute as executable code when the user activates the link, which converts stored collection data into executed script.

Attack Vector

The attack vector is network-based and requires an authenticated low-privilege account able to publish or modify collection documentation. A victim with an authenticated Hub session must then view the collection documentation page and click the malicious link. The scope is changed because script executes in the Hub UI origin, affecting resources outside the attacker's privileges.

No verified public proof-of-concept code is available. See the Red Hat CVE-2026-109131 advisory and Red Hat Bug Report #2549510 for vendor technical details.

Detection Methods for CVE-2026-109131

Indicators of Compromise

  • Collection documentation entries containing URL fragments beginning with javascript:, data:, or other non-http(s) schemes.
  • Hub UI browser sessions executing inline script originating from the collection documentation route.
  • Audit log entries showing collection uploads or modifications followed by anomalous API calls from the viewing user's session.

Detection Strategies

  • Scan stored collection documentation in Automation Hub for anchor targets using schemes other than http and https.
  • Review web server and reverse proxy logs for requests to collection documentation pages correlated with unusual outbound API calls from the same session.
  • Hunt for unexpected session token usage or privilege changes performed shortly after a user viewed a specific collection documentation page.

Monitoring Recommendations

  • Enable AAP audit logging for collection publish, update, and view events and forward logs to a central analytics platform.
  • Monitor Content Security Policy (CSP) violation reports from the Hub UI for script-src and javascript: navigations.
  • Alert on new collection uploads from accounts that do not typically publish content.

How to Mitigate CVE-2026-109131

Immediate Actions Required

  • Apply the Red Hat errata for Ansible Automation Platform 2.6 and 2.7 as soon as patched builds are available from Red Hat.
  • Restrict collection publishing permissions in Automation Hub to trusted maintainers only.
  • Audit existing collection documentation for links using non-http(s) schemes and remove or quarantine affected collections.

Patch Information

Refer to the Red Hat CVE-2026-109131 advisory and Red Hat Bug Report #2549510 for current patch availability, affected package versions, and errata identifiers for AAP 2.6 and 2.7.

Workarounds

  • Limit Automation Hub write access so only vetted accounts can publish or update collections.
  • Deploy a strict Content Security Policy on the Hub UI that forbids inline script execution and javascript: navigation targets.
  • Instruct Hub users to avoid clicking documentation links from untrusted collections until patches are applied.
bash
# Example restrictive CSP header for the Hub UI reverse proxy
add_header Content-Security-Policy "default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none'";

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.