{
  "id": "CVE-2026-5388",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-5388",
  "published_at": "2026-08-23T13:34:09.169Z",
  "title": "justhtml before 1.15.0 Multiple Security Issues",
  "vendor": "EmilStenstrom",
  "product": "justhtml",
  "cvss": {
    "score": 9.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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 \u003c/textarea\u003e reintroduction through Markdown passthrough, or preserved \u003cstyle\u003e/\u003cmeta http-equiv=refresh\u003e/\u003cbase href\u003e 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.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 9.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "EmilStenstrom",
        "product": "justhtml",
        "ranges": [
          "\u003c 1.15.0"
        ],
        "fixed_in": [
          "1.15.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade justhtml to 1.15.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-c9vm-hv86-f23r"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
