The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-34623

CVE-2023-34623: Jtidy_project Jtidy DOS Vulnerability

CVE-2023-34623 is a denial of service flaw in Jtidy_project Jtidy caused by crafted objects with cyclic dependencies. This post covers the technical details, affected versions, impact, and mitigation strategies.

Published: February 4, 2026

CVE-2023-34623 Overview

CVE-2023-34623 is a denial of service vulnerability discovered in JTidy through revision r938. The vulnerability allows attackers to cause a denial of service or potentially other unspecified impacts by supplying a crafted object that exploits cyclic dependencies within the library's processing logic. JTidy is a popular Java port of HTML Tidy, widely used for cleaning up and validating HTML markup in Java applications.

Critical Impact

Attackers can remotely crash or hang applications using vulnerable JTidy versions by submitting maliciously crafted input containing cyclic dependencies, leading to resource exhaustion and service disruption.

Affected Products

  • JTidy through revision r938
  • Applications and services integrating vulnerable JTidy versions
  • Java-based web applications using JTidy for HTML parsing and cleanup

Discovery Timeline

  • 2023-06-14 - CVE CVE-2023-34623 published to NVD
  • 2025-01-03 - Last updated in NVD database

Technical Details for CVE-2023-34623

Vulnerability Analysis

This vulnerability stems from improper handling of cyclic dependencies when JTidy processes specially crafted input objects. When the library encounters data structures containing circular references, it fails to properly detect and break these cycles, leading to unbounded recursion or infinite loops. This behavior can consume excessive CPU and memory resources, ultimately causing the application to become unresponsive or crash.

The vulnerability is classified under CWE-787 (Out-of-bounds Write), though the primary observable impact is denial of service through resource exhaustion. The network-accessible nature of this vulnerability means that any application exposing JTidy functionality to untrusted input—such as web applications that clean user-submitted HTML—could be vulnerable to remote exploitation without requiring authentication.

Root Cause

The root cause of CVE-2023-34623 lies in JTidy's failure to implement proper cycle detection when traversing object graphs or processing nested structures. When presented with input containing cyclic dependencies, the parser enters an unbounded processing state, attempting to recursively resolve references that ultimately point back to previously visited nodes. This lack of depth limiting or visited-node tracking results in stack overflow conditions or infinite iteration loops.

Attack Vector

The attack vector for this vulnerability is network-based and requires no authentication or user interaction. An attacker can exploit this vulnerability by sending a maliciously crafted HTML document or object structure to an application that processes the input using JTidy. The crafted input contains cyclic dependencies that trigger the vulnerable code path.

Exploitation scenarios include:

  • Web applications that use JTidy to sanitize or format user-submitted HTML content
  • Backend services that process HTML documents from external sources
  • Content management systems using JTidy for HTML cleanup operations

For technical details on the vulnerability mechanism, refer to the GitHub Issue Discussion where the issue is documented.

Detection Methods for CVE-2023-34623

Indicators of Compromise

  • Unusual CPU or memory spikes in applications using JTidy for HTML processing
  • Application threads stuck in long-running or infinite loops during HTML parsing operations
  • Out-of-memory errors or stack overflow exceptions in JTidy-related code paths
  • Repeated timeout errors when processing specific HTML input documents

Detection Strategies

  • Monitor application performance metrics for anomalous resource consumption during HTML processing operations
  • Implement logging around JTidy parsing calls to identify inputs that cause extended processing times
  • Use application performance monitoring (APM) tools to track thread states and identify hung threads in JTidy code
  • Scan application dependencies using software composition analysis (SCA) tools to identify vulnerable JTidy versions

Monitoring Recommendations

  • Configure alerting on memory and CPU thresholds for services that utilize JTidy
  • Implement request timeout mechanisms for endpoints that process untrusted HTML input
  • Enable verbose logging for JTidy operations in staging environments to identify problematic input patterns
  • Regularly review dependency manifests (Maven pom.xml, Gradle build files) to track JTidy version usage

How to Mitigate CVE-2023-34623

Immediate Actions Required

  • Identify all applications and services in your environment that depend on JTidy
  • Review JTidy version dependencies in Maven, Gradle, or other build configurations
  • Implement input size limits and processing timeouts for HTML parsing operations
  • Consider alternative HTML cleaning libraries if JTidy updates are not available

Patch Information

As of the last update to this CVE, specific patch information from the JTidy project was not available in the advisory data. Organizations should monitor the JTidy GitHub repository for updates regarding fixes or patched versions. Check for newer releases that may address this vulnerability.

Workarounds

  • Implement strict input validation and size limits on HTML content before passing to JTidy
  • Add processing timeouts around JTidy parsing operations to prevent resource exhaustion
  • Run JTidy processing in isolated threads with resource limits to contain potential DoS conditions
  • Consider using alternative HTML sanitization libraries such as jsoup with proper configuration
bash
# Example Maven dependency check command
mvn dependency:tree | grep -i jtidy
# Review output for jtidy versions and update to patched version when available

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechJtidy

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • GitHub Issue Discussion
  • Latest CVEs
  • CVE-2025-52479: HTTP.jl & URIs.jl CRLF Injection Flaw

  • CVE-2026-31740: Linux Kernel Race Condition Vulnerability

  • CVE-2026-31743: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-31744: Linux Kernel NULL Pointer Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English