Security mailing lists by PureSourceCode

CVE-2021-46708

MEDIUM 6.1CVSS 3.1

Spoofing attack in swagger-ui-dist

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.

Published
11 Mar 2022
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-1021
Also known as
GHSA-6c9x-mj3g-h47x
Sources
NVDJSONOSV GHSA-6c9x-mj3g-h47xJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD smartbear swagger-ui-dist
cpe:2.3:a:smartbear:swagger-ui-dist:*:*:*:*:*:node.js:*:*
< 4.1.3 4.1.3
OSV npm swagger-ui-dist < 4.1.3 4.1.3

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 11 Mar 2022)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 12 Mar 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.