Use After Free Affecting htacg/tidy-html5 package, versions [,5.9.8-next)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.33% (71st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-HTACGTIDYHTML5-3325573
  • published19 Feb 2023
  • disclosed19 Feb 2023
  • creditbsdb0y

Introduced: 19 Feb 2023

CVE-2021-33391  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade htacg/tidy-html5 to version 5.9.8-next or higher.

Overview

Affected versions of this package are vulnerable to Use After Free via the -g option of the CleanNode() function.

CVSS Scores

version 3.1