# CVE-2026-77088: justhtml 0.9.0 before 1.22.0 Cross-Site Scripting via code-span

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-06-25T17:35:52.000Z
- Modified: 2026-11-20T13:18:50.467Z
- Also known as: GHSA-jf6w-2mvx-633j
- Weaknesses: CWE-79, CWE-116
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- EmilStenstrom justhtml: from 0.9.0 before 1.22.0
- justhtml (PyPI): from 0.9.0 before 1.22.0

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-jf6w-2mvx-633j> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/justhtml-through-cross-site-scripting-via-code-span> (third-party-advisory)
- <https://github.com/EmilStenstrom/justhtml> (package)

## Sources

- CVE List: [CVE-2026-77088](https://www.cve.org/CVERecord?id=CVE-2026-77088), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-jf6w-2mvx-633j](https://github.com/advisories/GHSA-jf6w-2mvx-633j), CC-BY-4.0, modified 2026-08-24
- NVD: [CVE-2026-77088](https://nvd.nist.gov/vuln/detail/CVE-2026-77088), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-77088 · Whole record: https://cve.day/CVE-2026-77088.json · Rebuilt by cve.day 2026-11-25T22:59:34.968Z
