Vulnerabilities / CVE-2021-33391

critical

CVE-2021-33391

An issue in HTACG HTML Tidy v5.7.28 allows attacker to execute arbitra ...

Published Modified CWE 416
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Azure Linux, CBL-Mariner. Rated lower by Ubuntu (medium).

Description

An issue in HTACG HTML Tidy v5.7.28 allows attacker to execute arbitrary code via the -g option of the CleanNode() function in gdoc.c.

Affected packages and fixed versions

SourcePackageFixed in
Azure Linux 3.0tidy0:5.8.0-6.azl3
CBL-Mariner 2.0tidy0:5.8.0-6.cm2
debian 10tidy-html5no fix listed
debian 11tidy-html5no fix listed
debian 12tidy-html5no fix listed
debian 13tidy-html52:5.8.0-2
debian 14tidy-html52:5.8.0-2
echotidy-html52:5.8.0-2
rapidfort amazon linux 2023tidyno fix listed
rapidfort debian 12tidy-html52:5.8.0-2
rapidfort debian 13tidy-html52:5.8.0-2
ubuntu 18.04-ESMtidy-html5no fix listed
Show all 23 entries from 23 sources
SourcePackageFixed in
Azure Linux 3.0tidy0:5.8.0-6.azl3
CBL-Mariner 2.0tidy0:5.8.0-6.cm2
debian 10tidy-html5no fix listed
debian 11tidy-html5no fix listed
debian 12tidy-html5no fix listed
debian 13tidy-html52:5.8.0-2
debian 14tidy-html52:5.8.0-2
echotidy-html52:5.8.0-2
rapidfort amazon linux 2023tidyno fix listed
rapidfort debian 12tidy-html52:5.8.0-2
rapidfort debian 13tidy-html52:5.8.0-2
ubuntu 18.04-ESMtidy-html5no fix listed
ubuntu 20.04tidy-html52:5.6.0-11ubuntu0.20.04.1
ubuntu 20.04-ESMtidy-html52:5.6.0-11ubuntu0.20.04.1
ubuntu 22.04tidy-html52:5.6.0-11ubuntu0.22.04.1
ubuntu 23.04tidy-html52:5.6.0-11ubuntu0.23.04.1
ubuntu 23.10tidy-html52:5.6.0-11ubuntu0.23.10.1
ubuntu 24.04tidy-html52:5.6.0-11ubuntu1
ubuntu 24.10tidy-html52:5.6.0-11ubuntu1
ubuntu 25.04tidy-html52:5.6.0-11ubuntu1
ubuntu 25.10tidy-html52:5.6.0-11ubuntu1
ubuntu 26.04tidy-html52:5.6.0-11ubuntu1
ubuntu 26.10tidy-html52:5.6.0-11ubuntu1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.