Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-601 (指向未可信站点的URL重定向(开放重定向)) — Vulnerability Class 722

722 vulnerabilities classified as CWE-601 (指向未可信站点的URL重定向(开放重定向)). AI Chinese analysis included.

CWE-601 represents a critical web application vulnerability where the software accepts user-controlled input to specify a redirect destination without adequate validation. Attackers typically exploit this weakness by crafting malicious URLs that redirect victims to untrusted, phishing sites, often leveraging the trust associated with the legitimate domain to bypass security warnings. This social engineering tactic facilitates credential theft, malware distribution, or session hijacking. To mitigate this risk, developers must implement strict validation mechanisms, such as maintaining an allowlist of permitted domains or verifying that redirect parameters originate from the same origin. Additionally, using relative paths instead of absolute URLs can significantly reduce the attack surface. By ensuring that all redirection targets are explicitly trusted and verified before processing, organizations can prevent unauthorized navigation and protect users from deceptive external links.

MITRE CWE Description
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Common Consequences (2)
Access ControlBypass Protection Mechanism, Gain Privileges or Assume Identity
The user may be redirected to an untrusted page that contains malware which may then compromise the user's system. In some cases, an open redirect can also enable the immediate download of a file without the user's permission, because the r…
Access Control, Confidentiality, OtherBypass Protection Mechanism, Gain Privileges or Assume Identity, Other
By modifying the URL value to a malicious site, an attacker may successfully launch a phishing scam. The user may be subjected to phishing attacks by being redirected to an untrusted page. The phishing attack may point to an attacker controlled web page that appears to be a trusted web site. The phi…
Mitigations (5)
ImplementationAssume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
Architecture and DesignUse an intermediate disclaimer page that provides the user with a clear warning that they are leaving the current site. Implement a long timeout before the redirect occurs, or force the user to click on the link. Be careful to avoid XSS problems (CWE-79) when generating the disclaimer page.
Architecture and DesignWhen the set of acceptable objects, such as filenames or URLs, is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames or URLs, and reject all other inputs. For example, ID 1 could map to "/login.asp" and ID 2 could map to "http://www.example.com/". Features such as the ESAPI AccessReferenceMap [REF-45] provide this capability.
Architecture and DesignEnsure that no externally-supplied requests are honored by requiring that all redirect requests include a unique nonce generated by the application [REF-483]. Be sure that the nonce is not predictable (CWE-330).
Architecture and Design, ImplementationUnderstand all the potential areas where untrusted inputs can enter your software: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly throug…
Examples (2)
The following code obtains a URL from the query string and then redirects the user to that URL.
$redirect_url = $_GET['url']; header("Location: " . $redirect_url);
Bad · PHP
http://example.com/example.php?url=http://malicious.example.com
Attack
The following code is a Java servlet that will receive a GET request with a url parameter in the request to redirect the browser to the address specified in the url parameter. The servlet will retrieve the url parameter value from the request and send a response to redirect the browser to the url address.
public class RedirectServlet extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String query = request.getQueryString(); if (query.contains("url")) { String url = request.getParameter("url"); response.sendRedirect(url); } } }
Bad · Java
<a href="http://bank.example.com/redirect?url=http://attacker.example.net">Click here to log in</a>
Attack · HTML
CVE IDTitleCVSSSeverityPublished
CVE-2026-42350 Kargo: Open Redirect in UI OIDC Login Flow via redirectTo Query Parameter — kargo 6.1AIMediumAI2026-05-08
CVE-2026-42195 Unvalidated gitlab URL parameter redirects OAuth authorize step to attacker-controlled host — drawio 3.4 Low2026-05-08
CVE-2026-3318 Multiple vulnerabilities in Cradle e-commerce — e-commerce 6.1AIMediumAI2026-05-08
CVE-2026-42259 Saltcorn: Open Redirect in `POST /auth/login` due to incomplete `is_relative_url` validation (backslash bypass) — saltcorn 5.4AIMediumAI2026-05-07
CVE-2026-6795 Open Redirect in DivvyDrive Information Technologies' DivvyDrive — DivvyDrive 9.6 Critical2026-05-07
CVE-2026-40332 Masa CMS open redirect via improper handling of scheme-relative URLs — MasaCMS 6.1AIMediumAI2026-05-06
CVE-2026-43576 OpenClaw < 2026.4.5 - Second-hop SSRF via CDP /json/version WebSocket URL — OpenClaw 7.7 High2026-05-06
CVE-2025-61669 jupyter_server next parameter open redirect can redirect users to external domains — jupyter_server 6.1 -2026-05-05
CVE-2026-42230 n8n: Open Redirect in MCP OAuth Consent Flow — n8n 6.1 -2026-05-04
CVE-2026-41226 Ricoh Web Image Monitor 输入验证错误漏洞 — Multiple laser printers and MFPs which implement Web Image Monitor 6.1 -2026-04-30
CVE-2026-33102 Microsoft 365 Copilot Elevation of Privilege Vulnerability — Microsoft 365 Copilot 9.3 Critical2026-04-23
CVE-2026-41126 BigBlueButton has Open Redirect through bigbluebutton/api/join via get-parameter "logoutURL" — bigbluebutton 4.3 Medium2026-04-21
CVE-2026-40905 LinkAce: Password Reset Poisoning via X-Forwarded-Host Header Injection Leading to Account Takeover — LinkAce 8.1 High2026-04-21
CVE-2026-40299 next-intl has an open redirect vulnerability — next-intl 6.1AIMediumAI2026-04-17
CVE-2026-40255 @adonisjs/http-server has an Open Redirect vulnerability — http-server 6.1 Medium2026-04-16
CVE-2026-20060 Cisco Unity Connection Open Redirect Vulnerability — Cisco Unity Connection 4.7 Medium2026-04-15
CVE-2026-21741 Fortinet FortiNAC-F 输入验证错误漏洞 — FortiNAC-F 2.2 Low2026-04-14
CVE-2026-34257 Open Redirect vulnerability in SAP NetWeaver Application Server ABAP — SAP NetWeaver Application Server ABAP 6.1 Medium2026-04-14
CVE-2026-6203 User Registration & Membership <= 5.1.4 - Unauthenticated Open Redirect via 'redirect_to_on_logout' Parameter — User Registration & Membership – Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder 6.1 Medium2026-04-13
CVE-2026-39940 ChurchCRM has an Open Redirect via the ‘linkBack’ URL Parameter in DonatedItemEditor.php — CRM 5.4 -2026-04-13
CVE-2026-32932 Chamilo LMS has an Open Redirect via Unvalidated 'page' Parameter in Session Course Edit — chamilo-lms 4.7 Medium2026-04-10
CVE-2025-66447 Chamilo LMS has validation-less redirect on login page — chamilo-lms--2026-04-10
CVE-2026-22560 Rocket.Chat 安全漏洞 — Rocket.Chat 6.1 -2026-04-10
CVE-2026-25854 Apache Tomcat: Occasionally open redirect — Apache Tomcat 6.1AIMediumAI2026-04-09
CVE-2026-39985 LORIS has an open redirect field on login — Loris 4.3 Medium2026-04-09
CVE-2026-40037 OpenClaw < 2026.3.31 - Unsafe Request Body Replay via fetchWithSsrFGuard Cross-Origin Redirects — OpenClaw 6.5 Medium2026-04-08
CVE-2026-39484 WordPress Hide My WP Ghost plugin < 7.0.00 - Open Redirection vulnerability — Hide My WP Ghost 4.7 Medium2026-04-08
CVE-2026-35411 Directus is an Open Redirect in Admin 2FA Setup Page — directus 4.3 Medium2026-04-06
CVE-2026-35404 Open edX Platform has an Open Redirect in Survey Views via Unvalidated redirect_url Parameter — openedx-platform 4.7 Medium2026-04-06
CVE-2026-35475 WeGIA - Open Redirect - backup redirection — Unvalidated $_GET['redirect'] — WeGIA 6.1AIMediumAI2026-04-06

Vulnerabilities classified as CWE-601 (指向未可信站点的URL重定向(开放重定向)) represent 722 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.