Skip to main content
VulnerabilityPublished Updated

CVE-2026-5389: EmilStenstrom justhtml · Basic XSS

Affects EmilStenstrom justhtmlSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.1 Medium : upgrade to 1.13.0 when convenient.

Data as of 21 Nov 2026, 17:35 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 13% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.13.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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.

What to do

Upgrade justhtml and emilstenstrom/justhtml to 1.13.0.

Affected software

ProductAffectedFixed in
EmilStenstromjusthtmlAffected
  • <1.13.0
Fixed in
  • 1.13.0
GitHubemilstenstrom/justhtmlpkg:github/emilstenstrom/justhtmlOther threatsAffected
  • <1.13.0
Fixed in
  • 1.13.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade justhtml to version 1.13.0 or later, where this vulnerability is fixed. No other mitigation details are provided. Patch status is confirmed by the version boundary indicating fixed in 1.13.0.

Description

justhtml versions before 1.13.0 have a cross-site scripting (XSS) vulnerability in the to_markdown() function. This flaw allows attackers to inject backticks inside sanitized pre elements, breaking out of fixed-length code fences and enabling execution of raw HTML when rendered by CommonMark or GitHub Flavored Markdown (GFM) renderers.

References

Community reviews

Loading reviews…