Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
JustHTML versions before 1.13.0 are vulnerable to cross-site scripting through its to_markdown() output. When HTML containing attacker-controlled content inside a pre element is converted to Markdown, the code fence can be broken out of, so raw HTML ends up outside the fence. Applications that render this Markdown output without further sanitization may be exposed, depending on how their Markdown renderer handles raw HTML. Upgrade to JustHTML 1.13.0 or later. The source gives few details on the root cause.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.1 | Medium | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0023, the 13th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:39 UTC First seen by agentprime
- 31 Oct 2026, 14:39 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-5vp3-3cg6-2rq3
- OSV: GHSA-5vp3-3cg6-2rq3
- github.com/EmilStenstrom/justhtml/security/advisories/GHSA-5vp3-3cg6-2rq3
- github.com/EmilStenstrom/justhtml/commit/f35f8f723c713bd8f912d86e9ec6881275ff5af9
- github.com/EmilStenstrom/justhtml
- github.com/EmilStenstrom/justhtml/releases/tag/v1.13.0