{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-23435","published":"2021-09-12T20:15:07.443000Z","last_modified":"2026-06-17T03:38:45.490000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-601"],"cpes":[{"criteria":"cpe:2.3:a:thoughtbot:clearance:*:*:*:*:*:*:*:*","part":"a","vendor":"thoughtbot","product":"clearance","version_end_excluding":"2.5.0"}],"cpes_truncated":false,"vendors":["thoughtbot"],"products":["thoughtbot/clearance"],"epss":{"score":0.00703,"percentile":0.54524,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4hpq-rjcx-7vj9","ecosystem":"RubyGems","name":"clearance","purl":"pkg:gem/clearance","ranges":[{"introduced":"0","fixed":"2.5.0"}],"versions":["0.10.0","0.10.1","0.10.2","0.10.3.2","0.10.4","0.10.5","0.11.0","0.11.1","0.11.2","0.12.0","0.13.0","0.13.2","0.14.0","0.15.0","0.16.0","0.16.1","0.16.2","0.16.3","0.8.2","0.8.3","0.8.4","0.8.5","0.8.6","0.8.7","0.8.8","0.9.0.rc1","0.9.0.rc2","0.9.0.rc3","0.9.0.rc4","0.9.0.rc5","0.9.0.rc6","0.9.0.rc7","0.9.0.rc8","0.9.0.rc9","0.9.1","1.0.0","1.0.0.rc1","1.0.0.rc2","1.0.0.rc3","1.0.0.rc4","1.0.0.rc6","1.0.0.rc7","1.0.0.rc8","1.0.1","1.1.0","1.10.1","1.11.0","1.12.0","1.12.1","1.13.0","1.14.0","1.14.1","1.14.2","1.15.0","1.15.1","1.16.0","1.16.1","1.16.2","1.17.0","1.2.0","1.2.1","1.3.0","1.4.0","1.4.1","1.4.2","1.4.3","1.5.0","1.5.1","1.6.0","1.6.1","1.7.0","1.8.0","1.8.1","1.9.0","2.0.0","2.0.0.beta1","2.0.0.beta2","2.1.0","2.2.0","2.2.1","2.3.0","2.3.1","2.4.0"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2021-23435/","html_en":"/en/cve/CVE-2021-23435/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-23435","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-23435"},"untrusted":{"vendor_name":"Thoughtbot","product_name":"Clearance","desc_en":"This affects the package clearance before 2.5.0. The vulnerability can be possible when users are able to set the value of session[:return_to]. If the value used for return_to contains multiple leading slashes (/////example.com) the user ends up being redirected to the external domain that comes after the slashes (http://example.com).","affected":[],"references":[{"url":"https://github.com/thoughtbot/clearance/pull/945","tags":["Patch","Third Party Advisory"]},{"url":"https://snyk.io/vuln/SNYK-RUBY-CLEARANCE-1577284","tags":["Third Party Advisory"]}]}}