Vulnerability · Published Mar 11, 2022 · Assigned by mitre
CVE-2021-46708
Medium 6.1
In plain English
A medium-severity security flaw in the swagger-ui-dist package (npm). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 74% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.1Medium
Exploit odds (30 days)1.5%top 25.8% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | swagger-ui-dist | 4.1.3 | GHSA-6c9x-mj3g-h47x |
Affected products (as reported)
References
- https://security.snyk.io/vuln/SNYK-JS-SWAGGERUIDIST-2314884 x_refsource_MISC
- https://www.npmjs.com/package/swagger-ui-dist/v/4.1.3 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20220407-0004/ x_refsource_CONFIRM