Cross-site scripting via unvalidated cache manager hostname
Published Mar 20, 2020 · Updated Nov 5, 2025
Cross-site scripting in Squid before 4.9 allows remote attackers to execute script in a cache manager user's browser via a crafted hostname. The cachemgr.cgi tool reflects the host parameter into generated HTML without rejecting HTML or other invalid hostname characters. The script is not used by default, and exploitation requires a user with a susceptible browser to open the attacker-influenced cache manager response.
Summary
What happened
Cross-site scripting in Squid before 4.9 allows remote attackers to execute script in a cache manager user's browser via a crafted hostname. The cachemgr.cgi tool reflects the host parameter into generated HTML without rejecting HTML or other invalid hostname characters. The script is not used by default, and exploitation requires a user with a susceptible browser to open the attacker-influenced cache manager response.
The record
- CVE
- CVE-2019-18860
- Published
- Mar 20, 2020
- Updated
- Nov 5, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-74, CWE-79, T1189
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 20, 2020CVE publishedPublication date reported by the CVE source.
- Nov 5, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo