CVE-2026-77088EmilStenstrom justhtml
Medium 5.3 No auth needed
Follow: this CVE · EmilStenstrom · EmilStenstrom justhtml We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 4.0
- 5.3
- EPSS
- —
- Auth required
- No
- Published
- Aug 23, 2026
- Updated
- Nov 20, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
justhtml versions 0.9.0 before 1.22.0 contain a cross-site scripting vulnerability in to_markdown() where inline code spans fail to account for blank lines as block boundaries. Attackers can inject blank lines into code or pre element text to break the inline span, causing sanitized HTML to be emitted unescaped and re-parsed as live Markdown by compliant renderers.
What to do
- Apply the vendor's security update for justhtml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | justhtml |
≥ 0.9.0 < 1.22.0 |
1.22.0 |
pip install "justhtml>=1.22.0" |
Per OSV / GitHub Advisories (GHSA-jf6w-2mvx-633j). Check the version in your lockfile before upgrading.
Affected products
- EmilStenstrom · justhtml
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.