{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-0087","id":"CVE-2022-0087","title":"Cross-site Scripting (XSS) - Reflected in keystonejs/keystone","description":"keystone is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","descriptionLong":"keystone is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","published":"2022-01-11T23:20:11.000Z","updated":"2026-10-28T02:30:43.283057732Z","reserved":"2022-01-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"@huntrdev","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","rating":"high","source":"@huntrdev"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","rating":"high","source":"huntr.dev"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","rating":"high","source":"OSV"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","rating":"high","source":"GitHub"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":["keystonejs/keystone"],"affectedProducts":[{"vendor":"keystonejs","product":"keystonejs/keystone","defaultStatus":null,"versions":[{"lessThan":"@keystone-6/auth@1.0.2","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"@keystone-6/auth","purl":"pkg:npm/%40keystone-6/auth","ranges":["<1.0.2"],"fixed":["1.0.2"],"advisory":"GHSA-hrgx-7j6v-xj82"},{"ecosystem":"npm","name":"@keystone-next/auth","purl":"pkg:npm/%40keystone-next/auth","ranges":["<=37.0.0"],"fixed":[],"advisory":"GHSA-hrgx-7j6v-xj82"}],"cwes":["CWE-79"],"aliases":["GHSA-hrgx-7j6v-xj82"],"references":[{"url":"https://huntr.dev/bounties/c9d7374f-2cb9-4bac-9c90-a965942f413e","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/keystonejs/keystone/commit/96bf833a23b1a0a5d365cf394467a943cc481b38","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/0xxx/CVE-2022-0087.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0087","tags":["advisory"]},{"url":"https://github.com/keystonejs/keystone/security/advisories/GHSA-hrgx-7j6v-xj82","tags":["web"]},{"url":"https://github.com/keystonejs/keystone","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0275,"epssPercentile":0.86499,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-0087","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0087","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-0087","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-hrgx-7j6v-xj82","ok":true,"note":"GHSA-hrgx-7j6v-xj82"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-0087","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}