CVE-2026-4671 justhtml before 1.18.0 Denial of Service via CSS Selector
- Published
- Updated
- Exploit status
- No public exploit known
Description
justhtml before 1.18.0 contains multiple low-severity denial-of-service issues in CSS selector handling and linkification. Applications that evaluate attacker-controlled selector strings (via query(), matches(), or selector-based transforms), run selector matching over very large untrusted documents, construct DOM trees from untrusted structure, or enable linkification over attacker-controlled text may consume disproportionate CPU or memory. Triggers include oversized selectors, large selector lists, oversized compound selectors, long combinator chains, deeply nested functional pseudo-classes, repeated token/positional matching, cyclic DOM graphs causing non-terminating traversal, and punctuation-heavy or trailing-bracket linkification input. These are availability-only concerns and do not by themselves allow script execution, data disclosure, or sanitizer bypass. Default JustHTML(sanitize=True) usage is not expected to be exposed, since selectors are normally supplied by application code.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi justhtml(PyPI) | < 1.18.0 | 1.18.0 |
| pypi justhtml(PyPI) | = 0.1.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.10.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.11.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.12.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.13.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.13.1 | No fix listed |
| pypi justhtml(PyPI) | = 0.14.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.15.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.16.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.17.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.18.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.19.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.2.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.20.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.21.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.22.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.23.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.24.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.25.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.26.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.27.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.28.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.29.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.3.0 | No fix listed |
Show 39 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi justhtml(PyPI) | = 0.30.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.31.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.32.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.33.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.34.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.35.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.36.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.37.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.38.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.39.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.4.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.40.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.5.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.5.1 | No fix listed |
| pypi justhtml(PyPI) | = 0.5.2 | No fix listed |
| pypi justhtml(PyPI) | = 0.6.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.7.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.8.0 | No fix listed |
| pypi justhtml(PyPI) | = 0.9.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.0.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.1.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.10.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.11.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.12.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.13.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.14.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.15.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.16.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.17.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.2.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.3.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.4.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.5.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.6.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.7.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.8.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.9.0 | No fix listed |
| pypi justhtml(PyPI) | = 1.9.1 | No fix listed |
| pypi justhtml | < 1.18.0 | 1.18.0 |
References
- GitHub Security Advisory (GHSA-r8cj-3554-33mr) vendor-advisory
- github.com product
- VulnCheck Advisory: justhtml before 1.18.0 Denial of Service via CSS Selector third-party-advisory
- github.com