Every CVESearch/Get API key

GHSA-w228-rfpx-fhm4

cg vulnerable to an Open Redirect Vulnerability on Referer Header

6.1 MediumFix available

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.

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

What each source reports

GitHub Advisories Score used6.1

cg vulnerable to an Open Redirect Vulnerability on Referer Header

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.

Record
GHSA-w228-rfpx-fhm4
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-601
Updated
2026-11-02
OSV6.1

cg vulnerable to an Open Redirect Vulnerability on Referer Header

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.

Record
GHSA-w228-rfpx-fhm4
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-601
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
cg
PyPI
before 60.2.12
60.2.12
cg
PyPI
before 60.2.12, plus listed versions
0.9.00.9.11.0.01.0.0b212.1.3
Show 45 moreShow less
12.1.412.1.512.1.612.1.712.2.012.3.012.3.112.3.212.3.312.3.412.3.512.3.612.4.012.5.012.6.012.7.012.7.113.0.013.1.013.10.013.10.113.11.013.12.013.12.113.13.013.14.013.14.113.14.213.14.313.15.013.16.013.16.113.16.213.17.013.17.113.17.213.18.013.2.013.3.013.3.113.4.013.4.113.5.013.6.013.7.0
60.2.12

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-w228-rfpx-fhm4 is a medium vulnerability (CVSS 6.1) in cg, published April 23, 2024. No source lists public exploit code. Fixed in cg 60.2.12.

References

This page doesn't list everything

Left out here: 1,370 versions. The JSON record has them.

MoveEnter Open