AnsibleForms: Stored cross-site scripting (job output and form fields)

State
Published
Severity
8.7 High
Published
Nov 18, 2026
Updated
Nov 23, 2026
Reserved
Aug 13, 2026

Read the record on cve.org

Description

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.

ProductVersions
ansibleforms ansibleguy76< 6.2.1 Affected

Weaknesses

  • CWE-79 Improper Neutralization of Input During Web Page Generation
  • CWE-922 Insecure Storage of Sensitive Information
  • CWE-1021 Improper Restriction of Rendered UI Layers or Frames

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.