ADVISORIES

GitHub Advisory Database

GHSA-6c9x-mj3g-h47x

Spoofing attack in swagger-ui-dist

Moderate CVE-2021-46708

Details

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

EcosystemPackageAffected versions
npmswagger-ui-dist
All versions before 4.1.3 (fixed in 4.1.3)

References