{"id":"CVE-2023-34247","aliases":["CVE-2023-34247","GHSA-jqxr-vjvv-899m"],"related":[],"kind":"vulnerability","state":"published","title":"@keystone-6/auth Open Redirect vulnerability","summary":"Keystone is a content management system for Node.JS. There is an open redirect in the `@keystone-6/auth` package versions 7.0.0 and prior, where the redirect leading `/` filter can be bypassed. Users may be redirected to domains other than the relative host, thereby it might be used by attackers to re-direct users to an unexpected location. To mitigate this issue, one may apply a patch from pull request 8626 or avoid using the `@keystone-6/auth` package.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Keystone is a content management system for Node.JS. There is an open redirect in the `@keystone-6/auth` package versions 7.0.0 and prior, where the redirect leading `/` filter can be bypassed. Users may be redirected to domains other than the relative host, thereby it might be used by attackers to re-direct users to an unexpected location. To mitigate this issue, one may apply a patch from pull request 8626 or avoid using the `@keystone-6/auth` package.","source":"cvelist"},{"lang":"en","text":"### Summary\nThere is an open redirect in the `@keystone-6/auth` package, where the redirect leading `/` filter can be bypassed.\n\n### Impact\nUsers may be redirected to domains other than the relative host, thereby it might be used by attackers to re-direct users to an unexpected location.\n\n### Mitigations\n- Don't use the `@keystone-6/auth` package\n\n### References\n- [CWE-601: URL Redirection to Untrusted Site ('Open Redirect')](https://cwe.mitre.org/data/definitions/601.html)\n- [OWASP: Unvalidated Redirects and Forwards Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/Unvalidated_Redirects_and_Forwards_Cheat_Sheet.html)\n\n#### Similar Vulnerability Reports\n- [CVE-2023-0748](https://nvd.nist.gov/vuln/detail/CVE-2023-0748)\n- [CVE-2022-2252](https://nvd.nist.gov/vuln/detail/CVE-2022-2252)\n\n#### Credits\nThanks to [morioka12](https://github.com/scgajge12) for reporting this problem.\n\nIf you have any questions around this security advisory, please don't hesitate to contact us at [security@keystonejs.com](mailto:security@keystonejs.com), or [open an issue on GitHub](https://github.com/keystonejs/keystone/issues/new/choose).\n\nIf you have a security flaw to report for any software in this repository, please see our [SECURITY policy](https://github.com/keystonejs/keystone/blob/main/SECURITY.md).","format":"markdown","source":"ghsa"}],"published":"2023-06-13T16:31:31.545Z","modified":"2026-06-17T06:03:13.053Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:L/A:N","score":4.1,"rating":"MEDIUM"}],"cwes":["CWE-601"],"affected":[{"ranges":[{"version":"<= 7.0.0","status":"affected"}],"vendor":"keystonejs","product":"keystone","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.0.0"}],"ecosystem":"npm","package":"@keystone-6/auth","purl":"pkg:npm/%40keystone-6/auth","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"7.0.0"}],"vendor":"keystonejs","product":"keystone","cpe":"cpe:2.3:a:keystonejs:keystone:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/keystonejs/keystone/security/advisories/GHSA-jqxr-vjvv-899m","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/keystonejs/keystone/pull/8626","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34247","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/keystonejs/keystone","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-01-03T18:06:53.030Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34247","url":"https://www.cve.org/CVERecord?id=CVE-2023-34247","licence":"CVE Terms of Use","modified":"2025-01-03T18:07:02.632Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jqxr-vjvv-899m","url":"https://github.com/advisories/GHSA-jqxr-vjvv-899m","licence":"CC-BY-4.0","modified":"2023-11-08T04:12:45.644Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34247","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34247","licence":"Public domain","modified":"2026-06-17T06:03:13.053Z"}],"updatedAt":"2026-11-25T22:58:24.785Z","epss":{"score":0.00407,"percentile":0.3707,"date":"2026-12-01T12:00:22.000Z"}}