Skip to content

CVE-2026-5388 justhtml before 1.15.0 Multiple Security Issues

CriticalCVSS 9.3 EPSS 0.59%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

Description

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 URLs resolved as remote hosts, markup-breaking programmatic element/attribute names or HTML comments, raw </textarea> reintroduction through Markdown passthrough, or preserved <style>/<meta http-equiv=refresh>/<base href> tags in custom policies. Most custom-policy issues do not affect the default sanitize=True configuration; they primarily affect helper APIs, programmatic DOM construction, html_passthrough=True, and custom policies/transform pipelines.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
pypi justhtml < 1.15.0 1.15.0 Fixed
pypi justhtml(PyPI) < 1.15.0; <= 1.14.0; = 0.1.0; = 0.2.0 +57 more 1.15.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi justhtml(PyPI) < 1.15.0 1.15.0
pypi justhtml(PyPI) = 0.1.0 No fix listed
pypi justhtml(PyPI) = 0.10.0 No fix listed
pypi justhtml(PyPI) = 0.11.0 No fix listed
pypi justhtml(PyPI) = 0.12.0 No fix listed
pypi justhtml(PyPI) = 0.13.0 No fix listed
pypi justhtml(PyPI) = 0.13.1 No fix listed
pypi justhtml(PyPI) = 0.14.0 No fix listed
pypi justhtml(PyPI) = 0.15.0 No fix listed
pypi justhtml(PyPI) = 0.16.0 No fix listed
pypi justhtml(PyPI) = 0.17.0 No fix listed
pypi justhtml(PyPI) = 0.18.0 No fix listed
pypi justhtml(PyPI) = 0.19.0 No fix listed
pypi justhtml(PyPI) = 0.2.0 No fix listed
pypi justhtml(PyPI) = 0.20.0 No fix listed
pypi justhtml(PyPI) = 0.21.0 No fix listed
pypi justhtml(PyPI) = 0.22.0 No fix listed
pypi justhtml(PyPI) = 0.23.0 No fix listed
pypi justhtml(PyPI) = 0.24.0 No fix listed
pypi justhtml(PyPI) = 0.25.0 No fix listed
pypi justhtml(PyPI) = 0.26.0 No fix listed
pypi justhtml(PyPI) = 0.27.0 No fix listed
pypi justhtml(PyPI) = 0.28.0 No fix listed
pypi justhtml(PyPI) = 0.29.0 No fix listed
pypi justhtml(PyPI) = 0.3.0 No fix listed
Show 37 more
ProductAffected versionsFixed in
pypi justhtml(PyPI) = 0.30.0 No fix listed
pypi justhtml(PyPI) = 0.31.0 No fix listed
pypi justhtml(PyPI) = 0.32.0 No fix listed
pypi justhtml(PyPI) = 0.33.0 No fix listed
pypi justhtml(PyPI) = 0.34.0 No fix listed
pypi justhtml(PyPI) = 0.35.0 No fix listed
pypi justhtml(PyPI) = 0.36.0 No fix listed
pypi justhtml(PyPI) = 0.37.0 No fix listed
pypi justhtml(PyPI) = 0.38.0 No fix listed
pypi justhtml(PyPI) = 0.39.0 No fix listed
pypi justhtml(PyPI) = 0.4.0 No fix listed
pypi justhtml(PyPI) = 0.40.0 No fix listed
pypi justhtml(PyPI) = 0.5.0 No fix listed
pypi justhtml(PyPI) = 0.5.1 No fix listed
pypi justhtml(PyPI) = 0.5.2 No fix listed
pypi justhtml(PyPI) = 0.6.0 No fix listed
pypi justhtml(PyPI) = 0.7.0 No fix listed
pypi justhtml(PyPI) = 0.8.0 No fix listed
pypi justhtml(PyPI) = 0.9.0 No fix listed
pypi justhtml(PyPI) = 1.0.0 No fix listed
pypi justhtml(PyPI) = 1.1.0 No fix listed
pypi justhtml(PyPI) = 1.10.0 No fix listed
pypi justhtml(PyPI) = 1.11.0 No fix listed
pypi justhtml(PyPI) = 1.12.0 No fix listed
pypi justhtml(PyPI) = 1.13.0 No fix listed
pypi justhtml(PyPI) = 1.14.0 No fix listed
pypi justhtml(PyPI) = 1.2.0 No fix listed
pypi justhtml(PyPI) = 1.3.0 No fix listed
pypi justhtml(PyPI) = 1.4.0 No fix listed
pypi justhtml(PyPI) = 1.5.0 No fix listed
pypi justhtml(PyPI) = 1.6.0 No fix listed
pypi justhtml(PyPI) = 1.7.0 No fix listed
pypi justhtml(PyPI) = 1.8.0 No fix listed
pypi justhtml(PyPI) = 1.9.0 No fix listed
pypi justhtml(PyPI) = 1.9.1 No fix listed
pypi justhtml < 1.15.0 1.15.0
pypi justhtml(PyPI) <= 1.14.0 No fix listed

References