6.1medium
Spoofing attack in swagger-ui-dist
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.49% (higher than 74% of CVEs)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-6c9x-mj3g-h47x
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| swagger-ui-dist (npm) | before 4.1.3 | GitHub Advisory Database |
| smartbear swagger-ui-dist | before 4.1.3 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
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
References
| https://security.snyk.io/vuln/SNYK-JS-SWAGGERUIDIST-2314884 | patch, third-party-advisory, web | |
| https://www.npmjs.com/package/swagger-ui-dist/v/4.1.3 | product, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20220407-0004/ | third-party-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-46708 | advisory | |
| https://github.com/swagger-api/swagger-ui | package | |
| https://security.netapp.com/advisory/ntap-20220407-0004 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-46708 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6c9x-mj3g-h47x changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2021-46708 changed 2026-06-17 | Public domain |