Skip to main content
EPSS 0.7%top 50%

CVE-2026-4671: Uncontrolled Resource Consumption in EmilStenstrom justhtml

0
High
VulnerabilityCVE-2026-4671cvecve-2026-4671
Published: 08/23/2026 (08/23/2026, 13:34:08 UTC)
Source: CVE Database V5
Vendor/Project: EmilStenstrom
Product: justhtml

Description

justhtml versions prior to 1.18.0 contain multiple low-severity denial-of-service vulnerabilities related to CSS selector handling and linkification. These issues can cause excessive CPU or memory consumption when processing attacker-controlled selectors or text, potentially impacting availability. The vulnerabilities do not enable script execution, data leakage, or sanitizer bypass. Default usage with sanitization enabled is not expected to be vulnerable since selectors are typically controlled by application code.

CVSS v4.0

Score 8.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Affected software

EmilStenstrom

justhtml

Affected versions
>=0 <1.18.0
GitHub Actionsmore threats →ai
emilstenstrom/justhtml
pkg:github/emilstenstrom/justhtml
Affected versions
<1.18.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/10/2026, 13:07:14 UTC

Technical Analysis

CVE-2026-4671 describes multiple denial-of-service issues in EmilStenstrom justhtml before version 1.18.0. The vulnerabilities arise from uncontrolled resource consumption during CSS selector processing and linkification when attacker-controlled input is evaluated via query(), matches(), or selector-based transforms. Specific triggers include oversized or complex selectors, deeply nested pseudo-classes, cyclic DOM graphs causing infinite traversal, and punctuation-heavy linkification input. These issues affect availability only and do not allow code execution or data disclosure. The default configuration with sanitization enabled is not expected to expose these flaws.

Potential Impact

The impact is limited to denial-of-service conditions caused by excessive CPU or memory usage when processing crafted selectors or text. There is no impact on confidentiality, integrity, or code execution. Applications that evaluate untrusted selectors or construct DOM trees from untrusted sources are at risk of resource exhaustion, potentially leading to service disruption.

Mitigation Recommendations

No official patch or remediation level is currently documented. Users should avoid evaluating attacker-controlled selector strings or processing large untrusted documents with vulnerable justhtml versions. Using the default sanitization mode (sanitize=True) reduces exposure since selectors are normally application-controlled. Monitor vendor advisories for updates or patches. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-03-23T19:00:14.383Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a8afb27acd9273b49f5f71f

Added to database: 08/23/2026, 13:52:39 UTC

Last enriched: 09/10/2026, 13:07:14 UTC

Last updated: 10/06/2026, 18:48:22 UTC

Views: 68

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses