{"id":"CVE-2026-73967","summary":"AnsibleForms: Stored cross-site scripting (job output and form fields)","details":"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.","aliases":["GHSA-wcmj-wqvw-6c88"],"modified":"2026-11-18T22:00:20.657905011Z","published":"2026-11-18T20:16:54.869Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-1021","CWE-79","CWE-922"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73967.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73967.json"},{"type":"FIX","url":"https://github.com/ansibleforms/ansibleforms/commit/cab0a86abd4f4154aa10a5a6af658ac734bd96f0"},{"type":"FIX","url":"https://github.com/ansibleforms/ansibleforms/pull/473"},{"type":"WEB","url":"https://github.com/ansibleforms/ansibleforms/releases/tag/6.2.1"},{"type":"ADVISORY","url":"https://github.com/ansibleforms/ansibleforms/security/advisories/GHSA-wcmj-wqvw-6c88"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-73967"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ansibleforms/ansibleforms","events":[{"introduced":"0"},{"fixed":"7a9b9668953f8135e9d345d1c9913e90977ce716"},{"fixed":"cab0a86abd4f4154aa10a5a6af658ac734bd96f0"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"6.2.1"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"cab0a86abd4f4154aa10a5a6af658ac734bd96f0"}]},{"original_tag":"6.2.1","range":[{"fixed":"7a9b9668953f8135e9d345d1c9913e90977ce716"}],"source":"REFERENCES_TAG"}]}}],"versions":["6.2.0","6.1.5","6.1.4","6.1.3","6.1.2","6.1.1","6.1.0","6.0.2","6.0.1","6.0.0","5.0.10","5.0.9","5.0.8","5.0.7","5.0.6","5.0.5","5.0.4","5.0.3","5.0.2","5.0.1","5.0.0","4.0.19","4.0.18","4.0.17","4.0.16","4.0.15","4.0.14","4.0.13","4.0.12","4.0.11","4.0.10","4.0.9","4.0.8","4.0.7","4.0.5","4.0.3","4.0.2","4.0.1","4.0.0","3.1.1","3.1.0","3.0.9","3.0.7","3.0.6","3.0.5","3.0.4","3.0.3","3.0.2","3.0.1","3.0.0","2.2.4","2.2.3","2.2.2","2.2.1","2.2.0","2.1.6","2.1.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-73967.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}