CVE-2026-5388: Vulnerability in Justhtml

Critical. justhtml before 1.15.0 contains multiple security issues in URL sanitization helpers (clean_url_value/clean_url_in_js_string), HTML serialization, Markdown passthrough (html_passthrough=True), and several custom sanitization-policy edge cases. Depending on configuration, an attacker can bypass sanitization to inject active HTML and JavaScript — for example via encoded javascript: URLs, backslash-based relative...

CWE-20

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-20
Published
23 Aug 2026
Last change
12 Oct 2026

Affected products

Affected versions and the first fixed release

  • Justhtml Before 1.15.0. Fixed in 1.15.0

Advisories

Vendor and security advisories

Related