Web Application
CVE-2026-4671 high CVSS 7.5

Vulnerability in justhtml (CVE-2026-4671)

Summary

Vulnerability in justhtml (CVE-2026-4671). Risk of unauthorized operations or information disclosure. Exploitable via justhtml.

Original description

The description as published by the source.

Summary

justhtml 1.18.0 fixes multiple low-severity denial-of-service hardening issues in CSS selector handling and linkification.

These issues are availability concerns. They do not allow script execution, data disclosure, or sanitizer bypass by themselves.

Affected versions

  • justhtml < 1.18.0

Fixed version

  • justhtml 1.18.0 released on May 4, 2026

Impact

CSS selector handling

Applications that evaluate attacker-controlled selector strings, or that run selector-based transform pipelines over attacker-controlled documents, could consume disproportionate CPU or memory.

The affected selector patterns included oversized selectors, large selector lists, oversized compound selectors, long combinator chains, deeply nested functional pseudo-classes such as :not(...), repeated attribute/class token matching over large values, repeated sibling or ancestor scans, repeated positional pseudo-class work, and :contains(...) over large descendant text.

Programmatically constructed malformed DOM graphs could also trigger non-terminating or duplicate traversal in some selector paths, including cyclic/shared child graphs, cyclic parent chains, and cyclic text traversal for :contains(...).

Linkification

Attacker-controlled text containing punctuation-heavy input or URL candidates ending in long runs of unmatched closing brackets could cause repeated rescanning and consume disproportionate CPU when linkification was enabled.

Default configu…

Source: NIST National Vulnerability Database NVD GitHub Advisory

AI summary

Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.

justhtml 1.18.0以前のバージョンには、CSSセレクタ処理およびリンク化に関連する複数の低深刻度のDoS問題が含まれています。攻撃者がコントロールするセレクタ文字列を評価するアプリケーションは、CPUやメモリを過剰に消費する可能性があります。これにより、可用性に影響が及ぶ可能性がありますが、スクリプト実行やデータ漏えいは発生しません。

❓ What is the problem

justhtmlのCSSセレクタ処理とリンク化におけるDoS脆弱性。

📍 Affected scope

justhtmlバージョン1.18.0以前。

🔥 Severity

膨大なCPUまたはメモリを消費し、可用性に影響を与える可能性があります。

🔧 How to fix

justhtmlを1.18.0以降のバージョンにアップグレードします。

🛡️ Workaround

攻撃者が制御できるセレクタ文字列の評価を避けるべきです。

🔍 Detection

アプリケーションがセレクタ処理中に過剰なリソース消費を検出します。

Affected packages

PyPI justhtml
[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.18.0"}]}]

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details