CVE-2018-19131
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for...
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
- Record
CVE-2018-19131- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
- Record
CVE-2018-19131- Updated
- 2026-11-02
EUVDEUVD-2018-10844 No score
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
- Record
EUVD-2018-10844- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-jr78-3r97-gpxf
6.1
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for...
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
- Record
GHSA-jr78-3r97-gpxf- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
- Record
CVE-2018-19131- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-19131
6.1
Squid before 4.4 has XSS via a crafted X.509 certificate during HTTP(S) error page generation for certificate errors.
- Record
DEBIAN-CVE-2018-19131- CVSS 3.0
- 6.1 Medium
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
Show 10 moreShow less
OSVCLSA-2026-1776878817 No score
squid: Fix of 13 CVEs
- CVE-2018-1000027: fix NULL pointer dereference in clientFollowXForwardedForCheck for transactions without a client connection
- CVE-2018-19131: fix XSS via X.509 certificate fields rendered unescaped in SSL error pages
- CVE-2019-12520: prevent cache poisoning by suppressing URL userinfo from absolute URLs for non-FTP schemes
- CVE-2019-12523: reject URIs with invalid scheme (non-alpha first char) and malformed URN NID
- CVE-2019-12526: add Must() guard in URN response handling to prevent re-entry with zero-length buffer
- CVE-2019-12528: fix FTP directory listing parser info leak from heap into HTTP responses
- CVE-2019-12529: fix Basic auth uudecode out-of-bounds read/write via proper bounds checking
- CVE-2019-13345: fix multiple XSS issues in cachemgr.cgi via rfc1738-escaping user_name and auth parameters
- CVE-2019-18676: cap URI scheme length and reject malformed scheme prefixes to prevent buffer overflow in urlParse
- CVE-2019-18677: prevent CSRF via append_domain truncation by rejecting oversized domain appends
- CVE-2019-18678: reject HTTP headers with whitespace between field-name and colon per RFC 7230 to prevent request splitting
- CVE-2019-18679: remove raw heap pointer from Digest nonce hash input to prevent information disclosure and ASLR bypass
- CVE-2019-18860: fix cachemgr.cgi XSS/info-disclosure via hostname parameter validation
- Record
CLSA-2026-1776878817- Updated
- 2026-11-02
OSVCLSA-2026-1776879277 No score
squid: Fix of 13 CVEs
- CVE-2018-1000027: fix NULL pointer dereference in clientFollowXForwardedForCheck for transactions without a client connection
- CVE-2018-19131: fix XSS via X.509 certificate fields rendered unescaped in SSL error pages
- CVE-2019-12520: prevent cache poisoning by suppressing URL userinfo from absolute URLs for non-FTP schemes
- CVE-2019-12523: reject URIs with invalid scheme (non-alpha first char) and malformed URN NID
- CVE-2019-12526: add Must() guard in URN response handling to prevent re-entry with zero-length buffer
- CVE-2019-12528: fix FTP directory listing parser info leak from heap into HTTP responses
- CVE-2019-12529: fix Basic auth uudecode out-of-bounds read/write via proper bounds checking
- CVE-2019-13345: fix multiple XSS issues in cachemgr.cgi via rfc1738-escaping user_name and auth parameters
- CVE-2019-18676: cap URI scheme length and reject malformed scheme prefixes to prevent buffer overflow in urlParse
- CVE-2019-18677: prevent CSRF via append_domain truncation by rejecting oversized domain appends
- CVE-2019-18678: reject HTTP headers with whitespace between field-name and colon per RFC 7230 to prevent request splitting
- CVE-2019-18679: remove raw heap pointer from Digest nonce hash input to prevent information disclosure and ASLR bypass
- CVE-2019-18860: fix cachemgr.cgi XSS/info-disclosure via hostname parameter validation
- Record
CLSA-2026-1776879277- Updated
- 2026-11-02
OSVCLSA-2026-1777539404 No score
squid34: Fix of 12 CVEs
- CVE-2019-12525: fix heap buffer over-read in Digest auth parameter parsing
- CVE-2018-1000027: fix NULL pointer dereference in X-Forwarded-For logging for internal transactions
- CVE-2018-19131: escape certificate field injection via %D in ERR_SECURE_CONNECT_FAIL page
- CVE-2018-19132: fix memory leak when parsing denied or malformed SNMP packets
- CVE-2019-13345: escape user_name and pub_auth parameters in cachemgr.cgi to prevent reflected XSS
- CVE-2019-18860: validate hostname parameter in cachemgr.cgi to prevent reflected XSS
- CVE-2019-18677: prevent hostname truncation when append_domain expands origin-relative domains
- CVE-2019-18679: remove in-memory pointer from Digest nonce hash input (ASLR bypass)
- CVE-2019-18678: reject HTTP requests with BWS between header field-name and colon (RFC 7230 3.2.4)
- CVE-2019-12523: validate URN NID per RFC 8141 to prevent SSRF via crafted urn: requests
- CVE-2019-12528: track FTP listing token positions to avoid strstr-based over-read into adjacent heap
- CVE-2019-12529: replace uudecode with base64_decode in Basic auth to bound input-buffer reads
- Record
CLSA-2026-1777539404- Updated
- 2026-11-02
OSVCLSA-2026-1777541147 No score
squid34: Fix of 12 CVEs
- CVE-2019-12525: fix heap buffer over-read in Digest auth parameter parsing
- CVE-2018-1000027: fix NULL pointer dereference in X-Forwarded-For logging for internal transactions
- CVE-2018-19131: escape certificate field injection via %D in ERR_SECURE_CONNECT_FAIL page
- CVE-2018-19132: fix memory leak when parsing denied or malformed SNMP packets
- CVE-2019-13345: escape user_name and pub_auth parameters in cachemgr.cgi to prevent reflected XSS
- CVE-2019-18860: validate hostname parameter in cachemgr.cgi to prevent reflected XSS
- CVE-2019-18677: prevent hostname truncation when append_domain expands origin-relative domains
- CVE-2019-18679: remove in-memory pointer from Digest nonce hash input (ASLR bypass)
- CVE-2019-18678: reject HTTP requests with BWS between header field-name and colon (RFC 7230 3.2.4)
- CVE-2019-12523: validate URN NID per RFC 8141 to prevent SSRF via crafted urn: requests
- CVE-2019-12528: track FTP listing token positions to avoid strstr-based over-read into adjacent heap
- CVE-2019-12529: replace uudecode with base64_decode in Basic auth to bound input-buffer reads
- Record
CLSA-2026-1777541147- Updated
- 2026-11-02
OSVMGASA-2018-0458 No score
Updated squid packages fix security vulnerabilities
Due to incorrect input handling, Squid is vulnerable to a Cross-Site Scripting vulnerability when generating HTTPS response messages about TLS errors (CVE-2018-19131).
Due to a memory leak in SNMP query rejection code, Squid is vulnerable to a denial of service attack (CVE-2018-19132).
- Record
MGASA-2018-0458- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11403-1 No score
squid-4.16-1.5 on GA media
These are all security issues fixed in the squid-4.16-1.5 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11403-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3771-1 No score
Security update for squid
This update for squid fixes the following issues:
Security issues fixed:
- CVE-2018-19131: Fixed Cross-Site-Scripting vulnerability in the TLS error handling (bsc#1113668).
- CVE-2018-19132: Fixed small memory leak in processing of SNMP packets (bsc#1113669).
Non-security issues fixed:
- Create runtime directories needed when SMP mode is enabled (bsc#1112695, bsc#1112066).
- Install license correctly (bsc#1082318).
- Record
SUSE-SU-2018:3771-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3771-2 No score
Security update for squid
This update for squid fixes the following issues:
Security issues fixed:
- CVE-2018-19131: Fixed Cross-Site-Scripting vulnerability in the TLS error handling (bsc#1113668).
- CVE-2018-19132: Fixed small memory leak in processing of SNMP packets (bsc#1113669).
Non-security issues fixed:
- Create runtime directories needed when SMP mode is enabled (bsc#1112695, bsc#1112066).
- Install license correctly (bsc#1082318).
- Record
SUSE-SU-2018:3771-2- Updated
- 2026-11-02
OSVSUSE-SU-2018:3786-1 No score
Security update for squid
This update for squid fixes the following issues:
Security issues fixed:
- CVE-2018-19131: Fixed Cross-Site-Scripting vulnerability in the TLS error handling (bsc#1113668).
- CVE-2018-19132: Fixed small memory leak in processing of SNMP packets (bsc#1113669).
Non-security issues fixed:
- Create runtime directories needed when SMP mode is enabled (bsc#1112695, bsc#1112066).
- Install license correctly (bsc#1082318).
- Record
SUSE-SU-2018:3786-1- Updated
- 2026-11-02
OSVSUSE-SU-2018:3790-1 No score
Security update for squid3
This update for squid3 fixes the following issues:
Security issue fixed:
- CVE-2018-19131: Fixed Cross-Site-Scripting vulnerability in the TLS error handling (bsc#1113668).
- Record
SUSE-SU-2018:3790-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
squidTuxCare:CentOS:6 From an advisory covering 13 CVEs |
before 7:3.1.23-30.el6.tuxcare.els17 | 7:3.1.23-30.el6.tuxcare.els17 |
squidTuxCare:OracleLinux:6 From an advisory covering 13 CVEs |
before 7:3.1.23-30.el6.tuxcare.els17 | 7:3.1.23-30.el6.tuxcare.els17 |
squid34TuxCare:OracleLinux:6 From an advisory covering 12 CVEs |
before 7:3.4.14-16.el6.tuxcare.els13 | 7:3.4.14-16.el6.tuxcare.els13 |
squid34TuxCare:CentOS:6 From an advisory covering 12 CVEs |
before 7:3.4.14-16.el6.tuxcare.els13 | 7:3.4.14-16.el6.tuxcare.els13 |
squidDebian:12 |
before 4.4-1 | 4.4-1 |
squidDebian:13 |
before 4.4-1 | 4.4-1 |
squidDebian:14 |
before 4.4-1 | 4.4-1 |
squidMageia:6 From an advisory covering 2 CVEs |
before 3.5.26-1.2.mga6 | 3.5.26-1.2.mga6 |
squidSUSE:Linux Enterprise Server 12 SP3 From an advisory covering 2 CVEs |
before 3.5.21-26.12.1 | 3.5.21-26.12.1 |
squidSUSE:Linux Enterprise Server for SAP Applications 12 SP3 From an advisory covering 2 CVEs |
before 3.5.21-26.12.1 | 3.5.21-26.12.1 |
Show 6 moreShow less
| Package | Affected | Fixed |
|---|---|---|
squidSUSE:Linux Enterprise Server 12 SP4 From an advisory covering 2 CVEs |
before 3.5.21-26.12.1 | 3.5.21-26.12.1 |
squidSUSE:Linux Enterprise Server for SAP Applications 12 SP4 From an advisory covering 2 CVEs |
before 3.5.21-26.12.1 | 3.5.21-26.12.1 |
squidSUSE:Linux Enterprise Module for Server Applications 15 From an advisory covering 2 CVEs |
before 4.4-5.3.2 | 4.4-5.3.2 |
squid3SUSE:Linux Enterprise Server 11 SP4 |
before 3.1.23-8.16.37.9.1 | 3.1.23-8.16.37.9.1 |
squid3SUSE:Linux Enterprise Server for SAP Applications 11 SP4 |
before 3.1.23-8.16.37.9.1 | 3.1.23-8.16.37.9.1 |
squidopenSUSE:Tumbleweed From an advisory covering 40 CVEs |
before 4.16-1.5 | 4.16-1.5 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | JonathanWilbur/CVE-2018-19131 | 2018-11-13 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-19131 is a medium vulnerability (CVSS 6.1) in Squid-cache Squid, published November 9, 2018. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 3.32%, the 88th percentile. Fixed in squid 4.4-1.
References
squid-cache.org/Versions/v5/changesets/squid-5-6feeb15ff312f3e145763adf8d234ed6a0b3f11d.patch
squid-cache.org/Advisories/SQUID-2018_4.txt
github.com/squid-cache/squid/pull/306
nvd.nist.gov/vuln/detail/CVE-2018-19131
github.com/advisories/GHSA-jr78-3r97-gpxf
errata.tuxcare.com/els_os/centos6els/CLSA-2026-1776878817.html
Show 69 moreShow less
nvd.nist.gov/vuln/detail/CVE-2018-1000027
nvd.nist.gov/vuln/detail/CVE-2019-12520
nvd.nist.gov/vuln/detail/CVE-2019-12523
nvd.nist.gov/vuln/detail/CVE-2019-12526
nvd.nist.gov/vuln/detail/CVE-2019-12528
nvd.nist.gov/vuln/detail/CVE-2019-12529
nvd.nist.gov/vuln/detail/CVE-2019-13345
nvd.nist.gov/vuln/detail/CVE-2019-18676
nvd.nist.gov/vuln/detail/CVE-2019-18677
nvd.nist.gov/vuln/detail/CVE-2019-18678
nvd.nist.gov/vuln/detail/CVE-2019-18679
nvd.nist.gov/vuln/detail/CVE-2019-18860
errata.tuxcare.com/els_os/oraclelinux6els/CLSA-2026-1776879277.html
errata.tuxcare.com/els_os/oraclelinux6els/CLSA-2026-1777539404.html
errata.tuxcare.com/els_os/centos6els/CLSA-2026-1777541147.html
security-tracker.debian.org/tracker/CVE-2018-19131
advisories.mageia.org/MGASA-2018-0458.html
bugs.mageia.org/show_bug.cgi?id=23780
squid-cache.org/Advisories/SQUID-2018_5.txt
openwall.com/lists/oss-security/2018/11/09/1
suse.com/support/update/announcement/2018/suse-su-20183771-1
bugzilla.suse.com/1082318
bugzilla.suse.com/1112066
bugzilla.suse.com/1112695
bugzilla.suse.com/1113668
bugzilla.suse.com/1113669
suse.com/security/cve/CVE-2018-19131
suse.com/security/cve/CVE-2018-19132
suse.com/support/update/announcement/2018/suse-su-20183771-2
suse.com/support/update/announcement/2018/suse-su-20183786-1
suse.com/support/update/announcement/2018/suse-su-20183790-1
suse.com/security/cve/CVE-2016-10002
suse.com/security/cve/CVE-2016-10003
suse.com/security/cve/CVE-2016-2569
suse.com/security/cve/CVE-2016-2571
suse.com/security/cve/CVE-2016-3947
suse.com/security/cve/CVE-2016-4051
suse.com/security/cve/CVE-2016-4052
suse.com/security/cve/CVE-2016-4553
suse.com/security/cve/CVE-2016-4555
suse.com/security/cve/CVE-2018-1000024
suse.com/security/cve/CVE-2018-1000027
suse.com/security/cve/CVE-2018-1172
suse.com/security/cve/CVE-2019-12519
suse.com/security/cve/CVE-2019-12523
suse.com/security/cve/CVE-2019-12525
suse.com/security/cve/CVE-2019-12526
suse.com/security/cve/CVE-2019-12527
suse.com/security/cve/CVE-2019-12528
suse.com/security/cve/CVE-2019-12529
suse.com/security/cve/CVE-2019-12854
suse.com/security/cve/CVE-2019-13345
suse.com/security/cve/CVE-2019-18677
suse.com/security/cve/CVE-2019-18678
suse.com/security/cve/CVE-2019-18679
suse.com/security/cve/CVE-2019-18860
suse.com/security/cve/CVE-2020-11945
suse.com/security/cve/CVE-2020-14059
suse.com/security/cve/CVE-2020-15049
suse.com/security/cve/CVE-2020-15810
suse.com/security/cve/CVE-2020-15811
suse.com/security/cve/CVE-2020-24606
suse.com/security/cve/CVE-2020-25097
suse.com/security/cve/CVE-2020-8449
suse.com/security/cve/CVE-2020-8517
suse.com/security/cve/CVE-2021-28651
suse.com/security/cve/CVE-2021-28652
suse.com/security/cve/CVE-2021-28662
suse.com/security/cve/CVE-2021-31806