{"id":"CVE-2022-25295","state":"PUBLISHED","title":"Open Redirect","description":"This affects the package github.com/gophish/gophish before 0.12.0. The Open Redirect vulnerability exists in the next query parameter. The application uses url.Parse(r.FormValue(\"next\")) to extract path and eventually redirect user to a relative URL, but if next parameter starts with multiple backslashes like \\\\\\\\\\\\example.com, browser will redirect user to http://example.com.","publishedAt":"2022-09-11T13:45:20.564Z","updatedAt":"2024-09-16T17:29:06.682Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:C","source":"snyk"},"assigner":"snyk","products":["n/a github.com/gophish/gophish"],"affected":[{"vendor":"n/a","product":"github.com/gophish/gophish","versions":[{"version":"unspecified","status":"affected","lessThan":"0.12.0","versionType":"custom"}]}],"references":["https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177","https://github.com/gophish/gophish/pull/2262"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:46.971Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/25xxx/CVE-2022-25295.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-25295","state":"PUBLISHED","datePublished":"2022-09-11T13:45:20.564Z","dateUpdated":"2024-09-16T17:29:06.682Z","assignerShortName":"snyk","assignerOrgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730","dateReserved":"2022-02-16T00:00:00.000Z"},"containers":{"cna":{"title":"Open Redirect","descriptions":[{"lang":"en","value":"This affects the package github.com/gophish/gophish before 0.12.0. The Open Redirect vulnerability exists in the next query parameter. The application uses url.Parse(r.FormValue(\"next\")) to extract path and eventually redirect user to a relative URL, but if next parameter starts with multiple backslashes like \\\\\\\\\\\\example.com, browser will redirect user to http://example.com."}],"affected":[{"vendor":"n/a","product":"github.com/gophish/gophish","versions":[{"version":"unspecified","status":"affected","lessThan":"0.12.0","versionType":"custom"}]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177","tags":["x_refsource_MISC"]},{"url":"https://github.com/gophish/gophish/pull/2262","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","exploitCodeMaturity":"PROOF_OF_CONCEPT","integrityImpact":"LOW","privilegesRequired":"NONE","remediationLevel":"UNAVAILABLE","reportConfidence":"CONFIRMED","scope":"UNCHANGED","temporalScore":5.1,"temporalSeverity":"MEDIUM","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:C","version":"3.1"}}],"problemTypes":[{"descriptions":[{"description":"Open Redirect","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"snyk","dateUpdated":"2022-09-11T13:45:20.000Z","orgId":"bae035ff-b466-4ff4-94d0-fc9efd9e1730"},"credits":[{"lang":"en","value":"Snyk Security Team"}],"datePublic":"2022-09-11T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"report@snyk.io","DATE_PUBLIC":"2022-09-11T13:42:52.981006Z","ID":"CVE-2022-25295","STATE":"PUBLIC","TITLE":"Open Redirect"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"github.com/gophish/gophish","version":{"version_data":[{"version_affected":"<","version_value":"0.12.0"}]}}]},"vendor_name":"n/a"}]}},"credit":[{"lang":"eng","value":"Snyk Security Team"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"This affects the package github.com/gophish/gophish before 0.12.0. The Open Redirect vulnerability exists in the next query parameter. The application uses url.Parse(r.FormValue(\"next\")) to extract path and eventually redirect user to a relative URL, but if next parameter starts with multiple backslashes like \\\\\\\\\\\\example.com, browser will redirect user to http://example.com."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P/RL:U/RC:C","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"Open Redirect"}]}]},"references":{"reference_data":[{"name":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177","refsource":"MISC","url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177"},{"name":"https://github.com/gophish/gophish/pull/2262","refsource":"MISC","url":"https://github.com/gophish/gophish/pull/2262"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMGOPHISHGOPHISH-2404177","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/gophish/gophish/pull/2262","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T04:36:06.652Z"}}]}}}