Skip to main content

AnsibleForms CVE-2026-73967

| EUVDEUVD-2026-129184 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-18 GitHub_M
8.7
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate as low-privileged user
  2. Delivery
    Submit job with HTML/event-handler payload
  3. Exploit
    Payload echoed and persisted via v-html
  4. Install
    Admin views stored job output
  5. C2
    Script executes, reads JWT from localStorage
  6. Execute
    Exfiltrate token, drive admin API
  7. Impact
    Full account/administrator takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a valid authenticated AnsibleForms account (any user can launch jobs via POST /api/v2/job for the primary job-output vector; the additional HTML/expression-field vectors require designer/config privileges to author fields). The payload only executes when another, higher-value user - ideally an administrator - subsequently views the stored job output or opens the malicious form (UI:R). Exploitation is aggravated, not gated, by two default conditions present in versions <= 6.2.0: Content-Security-Policy is disabled server-side (helmet contentSecurityPolicy:false in server/src/app.js) and the JWT is stored in localStorage, making token theft trivial once script runs. Limiting factors: attacker needs prior authentication, a privileged victim must interact with the poisoned content, and the flaw is fully remediated only by upgrading to 6.2.1 (which adds DOMPurify sanitization, server-side htmlEncode, and escaped output).

Impact

This is a stored cross-site scripting flaw (CWE-79) in AnsibleForms with a CVSS 3.1 vector of AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N (8.7). The signals are moderately strong but not emergency-grade: the attack is network-reachable and low-complexity, but it requires an authenticated account (PR:L) and victim interaction (UI:R) - a privileged user, ideally an administrator, must view the poisoned job output or form before the payload fires. The scope change (S:C) and C:H/I:H reflect that code executing in the victim's browser steals the localStorage JWT and can drive the full API, i.e. account takeover. The vuln.today Decision label is this_week (elevated, not act_now/emergency), which is consistent with a serious-but-interaction-gated issue. No KEV listing is present, so exploitation status is 'no confirmed active exploitation'; EPSS is not provided in the input, so real-world exploitation probability cannot be quantified here. A PoC mechanism is described in the GHSA advisory but it is explicitly 'not weaponized,' so this is a public PoC reference, not verified working exploit code. Net: a genuine priority for any organization running AnsibleForms with multiple/privileged users, but the authentication and user-interaction requirements make it targeted/opportunistic rather than mass-exploitable. The lowest-privilege vector (job output echoing attacker input) is the realistic concern because any authenticated user can reach it.

Exploit ScenarioDerived

An authenticated low-privileged user launches a job (POST /api/v2/job) whose submitted form input contains an HTML element with an inline event handler; because formatOutput does not HTML-escape stdout/stderr and AppAnsibleOutput.vue renders it via v-html, the payload is persisted in the job output. When an administrator later reviews that stored job, the script runs in their browser, reads the JWT from localStorage (no CSP to block it), and exfiltrates it for full administrative API access. A non-weaponized PoC describing this mechanism is published in the GHSA advisory.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Stored cross-site scripting in AnsibleForms 6.2.0 and earlier lets any authenticated user plant executable script in persisted job output, which then runs in the browser of whoever reviews that job - typically an administrator. Because the server ships with Content-Security-Policy disabled and the JWT is kept in localStorage, the injected script can read the victim's token and drive the API as that user, leading to full account takeover and, chained further, host-level compromise. A public PoC reference describing the mechanism exists but is not verified as working exploit code, and no confirmed active exploitation or CISA KEV listing was reported; the fix is 6.2.1, and this is flagged as a this-week remediation priority.

RemediationAI

Vendor-released patch: upgrade AnsibleForms to 6.2.1 (https://github.com/ansibleforms/ansibleforms/releases/tag/6.2.1), which adds DOMPurify sanitization to the v-html sinks in AppForm.vue and BsInputForForm.vue, HTML-encodes values in BsInputSelectAdvancedTable.vue, and escapes job output server-side. No complete workaround exists short of that upgrade, so treat this as a this-week priority given the account-takeover potential; the vendor's own remediation guidance is to HTML-escape line content in formatOutput before wrapping it in markup, route every remaining v-html value through a sanitizer such as DOMPurify or convert to text interpolation, replace the eval()-based field/expression evaluation with a non-eval evaluator, and restrict who may author HTML/expression fields. Interim risk reduction while scheduling the patch: restrict designer/config privileges so untrusted users cannot author HTML or expression fields (trade-off: limits form-building capability), and limit who can launch jobs or review arbitrary job output (trade-off: reduces self-service coverage). Enabling a restrictive Content-Security-Policy and moving the token out of localStorage would blunt token theft but are compensating measures only and do not remove the injection sinks; note that the shipped default disables CSP via helmet({ contentSecurityPolicy: false }), so any such policy must be added and tuned locally.

Affected VersionsENISA

ansibleforms < 6.2.1

Affected Packages

euvd ansibleforms fix: 6.2.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

AnsibleForms is a Vue 3 single-page client backed by a Node/Express server. The root cause is CWE-79: server/src/lib/common.js formatOutput wraps raw job stdout/stderr lines in <span> elements without HTML-escaping them, and client/src/components/AppAnsibleOutput.vue injects that stored string via v-html, so any value echoed from attacker-supplied job input becomes live markup in the reviewer's browser. Additional sinks exist for designer/config-controlled data: HTML and expression form fields are evaluated with eval() in client/src/lib/Helpers.js and rendered with v-html in AppForm.vue and BsInputForForm.vue, and approval messages and designer warning/error panels interpolate form/field names into v-html in jobs.vue, index.vue and designer.vue. Two default conditions aggravate impact rather than gate exploitation: server/src/app.js sets helmet({ contentSecurityPolicy: false }), so no CSP constrains inline script or exfiltration, and the JWT is stored in localStorage, making it readable by any script executing in the page. The trigger path is described in the vendor advisory; the upstream fix at commit cab0a86 adds DOMPurify 3.4.11 sanitization to the v-html sinks, HTML-encodes values in BsInputSelectAdvancedTable.vue, and escapes output server-side.

Know when Ansibleforms gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.7 HIGH
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
vuln.today AI 8.7 HIGH

Authenticated user injects stored XSS (PR:L), a different privileged victim must view it (UI:R), and execution in the victim's context stealing the JWT crosses a security boundary (S:C) yielding token/API confidentiality and integrity impact with no availability effect.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 18, 2026 - 21:03 EUVD
CVE Published
Nov 18, 2026 - 20:16 cve.org
HIGH 8.7

DescriptionCVE.org

AnsibleForms is a self-hosted web application that turns automation into self-service forms. Prior to 6.2.1, AnsibleForms stores attacker-influenceable job output that server/src/lib/common.js processes through formatOutput without HTML escaping and client/src/components/AppAnsibleOutput.vue renders through v-html. An authenticated user can submit job input that is echoed into persistent output, causing script execution when another user views the job. Additional designer-controlled HTML and expression values reach v-html in client/src/components/AppForm.vue and client/src/components/BsInputForForm.vue without sanitization. Because Content Security Policy is disabled and the JWT is stored in localStorage, script execution can steal a victim's token and take over the account, including an administrator account. This issue is fixed in version 6.2.1.

Technical POC Analysis

CWE-79 (Improper Neutralization of Input During Web Page Generation), with CWE-922 and CWE-1021 listed as secondary weaknesses.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

AnsibleForms 6.2.0 and earlier contains a stored cross-site scripting vulnerability that allows any authenticated user to inject malicious scripts into job output, which then execute in the browser of an administrator reviewing that job. Successful exploitation can lead to full account takeover and potential host-level compromise, posing a significant risk to organizations using this tool for automation workflows. Leadership should prioritize remediation as a this-week action to prevent unauthorized access and lateral movement.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting access to AnsibleForms to trusted users, enabling Content-Security-Policy headers, moving JWT storage to secure cookies, and monitoring for suspicious job outputs and administrator account activity.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche self-hosted open-source Ansible front-end, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy