{"id":"CVE-2026-5388","published":"2026-08-23T13:34:09Z","modified":"2026-08-26T16:16:10Z","title":"justhtml before 1.15.0 Multiple Security Issues","vendor":"EmilStenstrom","product":"justhtml","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00587,"percentile":0.48988,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-c9vm-hv86-f23r","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/justhtml-before-multiple-security-issues","tags":["third-party-advisory"]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":9.8},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"emilstenstrom","affectedVersions":[{"vendor":"EmilStenstrom","product":"justhtml","versions":["< 1.15.0"]}],"fixedVersions":[{"vendor":"EmilStenstrom","product":"justhtml","versions":["1.15.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-08-26T16:07:56.131062Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-64652","exploited":false,"provenance":"source"}}