Impact
The CTFd web framework contains a flaw in the _is_safe_url function defined in CTFd/utils/validators/__init__.py. The function fails to properly validate the Next argument, allowing an attacker to supply a crafted URL that causes the application to redirect users to an arbitrary address. This open redirect is the primary impact identified as CWE‑601.
Affected Systems
Vulnerable versions of CTFd include all releases up to and including 3.8.4. The patch is available in the commit referenced by the identifier 5d8515842fd1ab2c3a9f2dde9ffca907aa334ea9, which should be applied in version 3.8.5 or later. The affected product is the CTFd application framework, typically used for hosting Capture‑The‑Flag challenges.
Risk and Exploitability
With a CVSS score of 5.3 the vulnerability is moderate. No EPSS score is available and the vulnerability is not listed in CISA’s KEV catalog. The attack can be launched remotely by an end‑user who controls the Next parameter, making exploitation straightforward for anyone with internet access. The vulnerability presents an open redirect but does not directly alter the application state.
OpenCVE Enrichment