Medium

Docassemble HTML and javascript injection

  • Disclosed: 29.02.2024
  • Updated: 11.10.2026 15:17

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:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) docassemble-webapp < 1.4.97 1.4.97

References

CVSS score 6.1/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Python (PyPI)
Package
docassemble-webapp
Disclosed
29.02.2024
Updated
11.10.2026 15:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-1311 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-pcfx-g2j2-f6f6 - CC BY 4.0

Vulnerability history: docassemble-webapp

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
02.2024 02.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 2

Disclosures per year

  1. 2024: 3
  2. 2025: 0
  3. 2026: 0
  1. Docassemble HTML and javascript injection this entry
    Medium · 6.1 CVE-2024-27290 < 1.4.97 1.4.97
  2. Medium · 6.1 CVE-2024-27291 < 1.4.97 1.4.97
  3. High · 7.5 CVE-2024-27292 >= 1.4.53, < 1.4.97 1.4.97

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.