Denial of Service Vulnerability in libhtmlcleaner-java: Impact of Cyclic Dependencies

libhtmlcleaner-java Updated 02 Oct 2025

Summary

14/06/2023
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2023-34624: An issue was discovered htmlcleaner thru = 2.28 allows attackers to cause a denial of service or other unspecified impacts via crafted object that uses cyclic dependencies. Affects libhtmlcleaner-java versions < 2.24-1+deb11u1. Fixed in 2.24-1+deb11u1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

libhtmlcleaner-java is a Java library designed for cleaning and parsing HTML content. It provides functionalities to sanitize and manipulate HTML documents, making it a valuable tool for developers dealing with web content. However, a vulnerability has been identified that allows attackers to exploit cyclic dependencies within the library, potentially leading to denial of service.

Vulnerability Detail

An issue was discovered in htmlcleaner versions up to 2.28, which allows attackers to cause a denial of service or other unspecified impacts via crafted objects that utilize cyclic dependencies. This vulnerability can lead to resource exhaustion, making the application unresponsive and affecting its availability.

How To Fix

Minimum fixed version

2.24-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libhtmlcleaner-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, avoid using the affected versions of libhtmlcleaner-java until an update can be applied. Consider implementing input validation to mitigate the risk of crafted objects being processed by the library.

Conclusion

The libhtmlcleaner-java package has a vulnerability that can lead to denial of service due to cyclic dependencies. It is crucial to update to the patched versions to mitigate this risk. Users are encouraged to monitor their applications for vulnerabilities using tools like Vulert.

See every vulnerability recorded for libhtmlcleaner-java →

Share this vulnerability

FAQ

The vulnerability allows attackers to exploit cyclic dependencies, potentially leading to denial of service.

Versions up to 2.28 are affected in Debian 11, and versions up to 2.29 are affected in Debian 13 and 14.

You can use the Vulert playground at Vulert Scanner to check if your application is affected without requiring any signup.

As a temporary measure, avoid using the affected versions and implement input validation to reduce the risk.

Related vulnerabilities

Recent vulnerabilities recorded for libhtmlcleaner-java.

How To Fix

Minimum fixed version

2.24-1+deb11u1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade libhtmlcleaner-java

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback