Description
Cross-site scripting (XSS) vulnerability in htsearch in htdig 3.2.0b6 allows remote attackers to inject arbitrary web script or HTML via the sort parameter.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | htdig | 1:3.2.0b6-4 | — |
| Debian 13 | htdig | 1:3.2.0b6-4 | — |
| Debian 12 | htdig | 1:3.2.0b6-4 | — |
| Debian 4.0 | htdig | 1:3.2.0b6-3.1etch1 | DSA-1429-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | htdig +1 | 3:3.2.0b6-9.0.1.el5_1 | RHSA-2007:1095 |
| RHEL 4 | htdig +1 | 3:3.2.0b6-4.el4_6 | RHSA-2007:1095 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- ht://Dig 3.2 - Htsearch Cross-Site Scripting EDB-30818 · webapps · Nov 27, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- RHSA-2007:1095 Red Hat Security Advisory: htdig security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1429-1 htdig - cross site scripting Debian Security (DSA / DLA) · Mar 9, 2026
References
- 27965 third-party-advisory
- oval:org.mitre.oval:def:11515 vdb-entry signature
- 1019010 vdb-entry
- 27850 third-party-advisory
- SUSE-SR:2007:025 vendor-advisory
- ADV-2007-4038 vdb-entry
- RHSA-2007:1095 vendor-advisory
- 26610 vdb-entry
- 27890 third-party-advisory
- 28062 third-party-advisory
- http://sourceforge.net/mailarchive/forum.php?thread_name=200709251310.55835.mskibbe%40suse.de&forum_name=htdig-dev
- FEDORA-2007-757 vendor-advisory
- DSA-1429 vendor-advisory
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=453278