Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate as low-privileged user
-
DeliverySubmit job with HTML/event-handler payload
-
ExploitPayload echoed and persisted via v-html
-
InstallAdmin views stored job output
-
C2Script executes, reads JWT from localStorage
-
ExecuteExfiltrate token, drive admin API
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Ansibleforms
View allUnauthenticated authentication bypass in AnsibleForms 6.2.0 and earlier lets a remote attacker forge an administrator JW
OS command injection (CWE-78) in AnsibleForms 6.2.0 and earlier lets an account holding repository or settings-managemen
EUVD-2026-129184
NVD
CVE.org
EPSS
GitHub
Exploit-DB