{"id":"CVE-2024-27290","aliases":["GHSA-pcfx-g2j2-f6f6","PYSEC-2026-1311"],"title":"Docassemble HTML and javascript injection","summary":"Docassemble HTML and javascript injection","severity":"medium","cvss":6.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","vendor":"docassemble-webapp","product":"docassemble-webapp","ecosystem":"pip","affected":["docassemble-webapp < 1.4.97"],"patched":["docassemble-webapp 1.4.97"],"published":"2024-02-29","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:50:06.476567695Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-pcfx-g2j2-f6f6","references":[{"url":"https://github.com/jhpyle/docassemble/security/advisories/GHSA-pcfx-g2j2-f6f6"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27290"},{"url":"https://github.com/jhpyle/docassemble/commit/4801ac7ff7c90df00ac09523077930cdb6dea2aa"},{"url":"https://github.com/jhpyle/docassemble"}],"tags":["osv","pip"],"epss":0.00434,"epssPercentile":0.3717,"ingestedAt":"2026-07-08T18:25:51.749Z","slug":"CVE-2024-27290","body":"## Overview\n\n### Impact\nA 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.\n\n### Patches\nThe vulnerability has been patched in version 1.4.97 of the master branch. The Docker image on docker.io has been patched.\n\n### Workarounds\nIf upgrading is not possible, manually apply the changes of [4801ac7](https://github.com/jhpyle/docassemble/commit/4801ac7ff7c90df00ac09523077930cdb6dea2aa) and restart the server (e.g., by pressing Save on the Configuration screen).\n\n### Credit\n\nThe vulnerability was discovered by Riyush Ghimire (@richighimi).\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n* Open an issue in [docassemble](https://github.com/jhpyle/docassemble/issues)\n* Join the [Slack channel](https://join.slack.com/t/docassemble/shared_invite/zt-2cspzjo9j-YyE7SrLmi5muAvnPv~Bz~A)\n* Email us at jhpyle@gmail.com\n\n## Affected packages\n\n- `docassemble-webapp < 1.4.97`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `docassemble-webapp 1.4.97`","depth":"sunlit","depthScore":34,"depthScoreParts":{"impact":33.6,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}