Docassemble HTML and javascript injection
Moderate severity
GitHub Reviewed
Published
Feb 29, 2024
in
jhpyle/docassemble
•
Updated Mar 21, 2024
Description
Published to the GitHub Advisory Database
Feb 29, 2024
Reviewed
Feb 29, 2024
Published by the National Vulnerability Database
Mar 21, 2024
Last updated
Mar 21, 2024
Impact
A user could type HTML into a field, including the field for the user's name, and then that HTML could be displayed on the screen as HTML. The HTML can also contain
<script>
tags allowing JavaScript to execute on the page.Patches
The vulnerability has been patched in version 1.4.97 of the master branch. The Docker image on docker.io has been patched.
Workarounds
If upgrading is not possible, manually apply the changes of 4801ac7 and restart the server (e.g., by pressing Save on the Configuration screen).
Credit
The vulnerability was discovered by Riyush Ghimire (@richighimi).
For more information
If you have any questions or comments about this advisory:
References