Description
Cross-site scripting (XSS) vulnerability in Gitweb 1.7.3.3 and earlier allows remote attackers to inject arbitrary web script or HTML via the (1) f and (2) fp parameters.
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 | git | 1:1.7.2.3-2.2 | — |
| Debian 13 | git | 1:1.7.2.3-2.2 | — |
| Debian 12 | git | 1:1.7.2.3-2.2 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | git +11 | 1.7.1-2.el6_0.1 | RHSA-2010:1003 |
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
- gitWeb 1.7.3.3 - Cross-Site Scripting EDB-15744 · webapps · Dec 15, 2010 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 1
- RHSA-2010:1003 Red Hat Security Advisory: git security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
References
- 43457 third-party-advisory
- 42645 third-party-advisory
- FEDORA-2010-18981 vendor-advisory
- 42731 third-party-advisory
- ADV-2010-3323 vdb-entry
- RHSA-2010:1003 vendor-advisory
- ADV-2011-0010 vdb-entry
- 42743 third-party-advisory
- 15744 exploit
- SUSE-SR:2011:004 vendor-advisory
- MDVSA-2010:256 vendor-advisory
- 1024905 vdb-entry
- 45439 vdb-entry
- ADV-2011-0464 vdb-entry
- FEDORA-2010-18973 vendor-advisory