CVE-2026-84683

Automation-controller: automation-controller-container: automation-controller: stored cross-site scripting in the job stdout html view via ansi osc 8 hyperlink sequences (javascript: anchor) enabling session takeover

Published Sep 23, 2026 CVSS 3.1 · 8.7 High EPSS < 1% KEV · Not listed
Description
A flaw was found in Red Hat Ansible Automation Platform's automation-
controller. The HTML view of job, ad hoc command, project update, and inventory
update standard output escapes HTML metacharacters but does not remove ANSI
terminal escape sequences before conversion to HTML. An ANSI OSC 8 hyperlink
sequence in the output is expanded into an HTML anchor whose href is not scheme-
filtered or escaped, so a low-privileged user who can produce output -- or an
external party whose data a playbook echoes -- can embed a javascript: link that
is rendered into a text/html response with no Content-Security-Policy. When a
higher-privileged user views the output page and clicks the link, attacker-
controlled JavaScript executes in their authenticated session, allowing actions
as that user up to full platform takeover.

Analysis

AI-generated

Technical impact

The vulnerability lies in the HTML rendering of job output in Red Hat Ansible Automation Platform 2. While the system escapes HTML special characters, it does not remove ANSI escape codes, including OSC 8 hyperlink sequences. These sequences are translated into raw anchor tags whose href values are not scheme‑filtered or escaped, enabling an attacker to embed a javascript: link in job, ad hoc command, project update, or inventory update output. When a higher‑privileged user opens the output page and clicks the link, the supplied script executes in that user's authenticated session, effectively allowing session hijacking and full platform takeover.

Affected Systems

The issue affects all installations of Red Hat Ansible Automation Platform 2 that use the default job output rendering path. Any instance where low‑privileged users can influence the output, or where playbook output is reflected from external sources, is vulnerable. The problem is present across job, ad hoc command, project update, and inventory update views.

Risk and Exploitability

With a CVSS score of 8.7 the flaw is rated high severity. The exploit requires an attacker to inject ANSI hyperlink sequences that will be rendered as a javascript: URL. A lower‑privileged user can create or echo such output; a higher‑privileged user then triggers the malicious JavaScript by clicking the link, leading to session takeover and potential full control of the platform. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting no confirmed exploitation yet. Nonetheless, the potential impact mandates urgent remediation.

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 update that removes ANSI OSC 8 hyperlink sequences from job stdout when rendering to HTML.
  • If an update is not immediately available, configure the platform to strip ANSI escape sequences from task output before HTML conversion or disable the OSC 8 hyperlink feature in the output rendering configuration.
  • Enable or enforce a Content‑Security‑Policy header on the job output pages that blocks inline scripts and restricts navigation to trusted origins, reducing risk until the patch is installed.

Generated by OpenCVE AI on September 23, 2026 at 20:49 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': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:/a:redhat:ansible_automation_platform:2 cpe:/a:redhat:ansible_automation_platform:2.7::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:ansible_automation_platform:2.5::el8
cpe:/a:redhat:ansible_automation_platform:2.5::el9
cpe:/a:redhat:ansible_automation_platform_developer:2.5::el8
cpe:/a:redhat:ansible_automation_platform_developer:2.5::el9
cpe:/a:redhat:ansible_automation_platform_inside:2.5::el8
cpe:/a:redhat:ansible_automation_platform_inside:2.5::el9
References
Type Values Removed Values Added
First Time appeared Redhat ansible Automation Platform Developer
Redhat ansible Automation Platform Inside
CPEs cpe:/a:redhat:ansible_automation_platform:2.6::el10
cpe:/a:redhat:ansible_automation_platform:2.6::el9
cpe:/a:redhat:ansible_automation_platform_developer:2.6::el10
cpe:/a:redhat:ansible_automation_platform_developer:2.6::el9
cpe:/a:redhat:ansible_automation_platform_inside:2.6::el9
Vendors & Products Redhat ansible Automation Platform Developer
Redhat ansible Automation Platform Inside
References
Type Values Removed Values Added
Description A flaw was found in Red Hat Ansible Automation Platform's automation- controller. The HTML view of job, ad hoc command, project update, and inventory update standard output escapes HTML metacharacters but does not remove ANSI terminal escape sequences before conversion to HTML. An ANSI OSC 8 hyperlink sequence in the output is expanded into an HTML anchor whose href is not scheme- filtered or escaped, so a low-privileged user who can produce output -- or an external party whose data a playbook echoes -- can embed a javascript: link that is rendered into a text/html response with no Content-Security-Policy. When a higher-privileged user views the output page and clicks the link, attacker- controlled JavaScript executes in their authenticated session, allowing actions as that user up to full platform takeover.
Title Automation-controller: automation-controller-container: automation-controller: stored cross-site scripting in the job stdout html view via ansi osc 8 hyperlink sequences (javascript: anchor) enabling session takeover
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': 8.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 4, 2026, 11:49 PM
Reserved
Sep 1, 2026, 10:29 PM
Status
Awaiting Analysis
Published
Sep 23, 2026, 8:17 PM
Modified
Nov 5, 2026, 12:17 AM
Severity
Important
Public date
Sep 23, 2026, 12:00 AM