GitHub Advisoryadvisory · npm

GHSA-6c9x-mj3g-h47x Spoofing attack in swagger-ui-dist

MEDIUM Published 2022-03-12 Modified 2022-03-29 Official page ↗
Aliases
CVE-2021-46708
Ecosystem
npm
Packages
swagger-ui-dist
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-1021
Reviewed
2022-03-14

Affected packages

• npm swagger-ui-dist: < 4.1.3 → fixed in 4.1.3

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.

Related

Alias · CVE (1)

  • CVE-2021-46708 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. vulnerability

Weakness · CWE (1)

  • CWE-1021 Improper Restriction of Rendered UI Layers or Frames weakness

References