Description
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
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 | squid | 4.4-1 | — |
| Debian 13 | squid | 4.4-1 | — |
| Debian 12 | squid | 4.4-1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | squid | 4.4-5.3.2 | SUSE-SU-2018:3786-1 |
| SLES 12 SP4 | squid | 3.5.21-26.12.1 | SUSE-SU-2018:3771-2 |
| SLES 12 SP3 | squid | 3.5.21-26.12.1 | SUSE-SU-2018:3771-1 |
| SLES 11 SP4 | squid3 | 3.1.23-8.16.37.9.1 | SUSE-SU-2018:3790-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP4 | squid | 3.5.21-26.12.1 | SUSE-SU-2018:3771-2 |
| SLES for SAP 12 SP3 | squid | 3.5.21-26.12.1 | SUSE-SU-2018:3771-1 |
| SLES for SAP 11 SP4 | squid3 | 3.1.23-8.16.37.9.1 | SUSE-SU-2018:3790-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | squid | 4.16-1.5 | openSUSE-SU-2024:11403-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | squid +2 | 7:3.5.20-17.amzn2.7.8 | ALAS2-2023-2310 |
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.
GitHub 1 repository
-
JonathanWilbur/CVE-2018-19131 ★ 18 · Nov 13, 2018
Proof-of-Concept exploit of CVE-2018-19131: Squid Proxy XSS via X.509 Certificate
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 7
- SUSE-SU-2018:3771-2 Security update for squid SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3771-1 Security update for squid SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11403-1 squid-4.16-1.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3786-1 Security update for squid SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2018:3790-1 Security update for squid3 SUSE / openSUSE Security Updates · May 2, 2025
- ALAS2-2023-2310 Moderate: squid security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 19, 2023
- WID-SEC-2023-2717 Squid: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 19, 2023