cg vulnerable to an Open Redirect Vulnerability on Referer Header
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-601.
Summary
### Summary A vulnerability has been discovered in the handling of the referrer header in the application, which could allow an attacker to conduct open redirects. The issue arises from improper validation of the referrer header in certain conditions. By manipulating the referrer header, an attacker could potentially redirect users to malicious websites, phishing pages, or other dangerous destinations. ### PoC If you change the referer header, you will be redirected to that domain without verifying. https://github.com/Clinical-Genomics/cg/blob/master/cg/server/invoices/views.py#L173 ### Impact An attacker exploiting this vulnerability could trick users into visiting malicious websites or disclose sensitive information by redirecting them to unintended destinations. This could lead to various attacks including phishing, malware distribution, or further exploitation of other vulnerabilities.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | cg (PyPI) | before 60.2.12 | 60.2.12 | Patch available | GHSA-w228-rfpx-fhm4 |
- cg (PyPI) Vendor— Affected before 60.2.12 Fixed in 60.2.12 Patch available GHSA-w228-rfpx-fhm4
Remediation
- Fix · GHSA-w228-rfpx-fhm4 cg (PyPI) Fixed in 60.2.12 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-w228-rfpx-fhm4
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences