{"id":"CVE-2021-46708","aliases":["CVE-2021-46708","GHSA-6c9x-mj3g-h47x"],"related":[],"kind":"vulnerability","state":"published","title":"Spoofing attack in swagger-ui-dist","summary":"The swagger-ui-dist package before 4.1.3 for Node.js could allow a remote attacker to hijack the clicking action of the victim. By persuading a victim to visit a malicious Web site, a remote attacker could exploit this vulnerability to hijack the victim's click actions and possibly launch further attacks against the victim.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The swagger-ui-dist package before 4.1.3 for Node.js could allow a remote attacker to hijack the clicking action of the victim. By persuading a victim to visit a malicious Web site, a remote attacker could exploit this vulnerability to hijack the victim's click actions and possibly launch further attacks against the victim.","source":"cvelist"},{"lang":"es","text":"El paquete swagger-ui-dist versiones anteriores a 4.1.3 para Node.js, podría permitir a un atacante remoto secuestrar la acción de hacer clic de la víctima. Al persuadir a una víctima para que visite un sitio web malicioso, un atacante remoto podría explotar esta vulnerabilidad para secuestrar las acciones de clic de la víctima y posiblemente lanzar más ataques contra ella","source":"nvd"}],"published":"2022-03-11T06:47:56.000Z","modified":"2026-06-17T04:15:24.580Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-1021"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"4.1.3"}],"ecosystem":"npm","package":"swagger-ui-dist","purl":"pkg:npm/swagger-ui-dist","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.1.3"}],"vendor":"smartbear","product":"swagger-ui-dist","cpe":"cpe:2.3:a:smartbear:swagger-ui-dist:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-SWAGGERUIDIST-2314884","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.npmjs.com/package/swagger-ui-dist/v/4.1.3","tags":["product","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20220407-0004/","tags":["third-party-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46708","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/swagger-api/swagger-ui","tags":["package"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20220407-0004","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-46708","url":"https://www.cve.org/CVERecord?id=CVE-2021-46708","licence":"CVE Terms of Use","modified":"2024-08-04T05:17:41.728Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-6c9x-mj3g-h47x","url":"https://github.com/advisories/GHSA-6c9x-mj3g-h47x","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:27.250Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-46708","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-46708","licence":"Public domain","modified":"2026-06-17T04:15:24.580Z"}],"updatedAt":"2026-11-25T22:58:07.171Z","epss":{"score":0.01488,"percentile":0.74375,"date":"2026-11-30T12:00:22.000Z"}}