CVE-2024-27290
JSON

6.1medium

Docassemble HTML and javascript injection

Severity
6.1medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.43% (higher than 39% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-pcfx-g2j2-f6f6PYSEC-2026-1311

Description

Docassemble is an expert system for guided interviews and document assembly. Prior to 1.4.97, 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 vulnerability has been patched in version 1.4.97 of the master branch.

Affected

Product or packageVersionsReported by
jhpyle docassemble< 1.4.97, before 1.4.97CVE List, NVD
docassemble-webapp (PyPI)before 1.4.97GitHub Advisory Database, PyPA Advisory Database

All scores

GitHub_M6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
PyPA Advisory Database6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Docassemble is an expert system for guided interviews and document assembly. Prior to 1.4.97, 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 vulnerability has been patched in version 1.4.97 of the master branch.

GitHub Advisory Database
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:

NVD (es)

Docassemble es un sistema experto para entrevistas guiadas y montaje de documentos. Antes de 1.4.97, un usuario podía escribir HTML en un campo, incluido el campo para el nombre del usuario, y luego ese HTML podía mostrarse en la pantalla como HTML. La vulnerabilidad ha sido parcheada en la versión 1.4.97 de la rama maestra.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27290 changed 2024-08-05CVE Terms of Use
GitHub Advisory DatabaseGHSA-pcfx-g2j2-f6f6 changed 2026-09-10CC-BY-4.0
NVDCVE-2024-27290 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-1311 changed 2026-07-07CC-BY-4.0