PT-2022-12909 · Unknown · Swagger-Ui-Dist

Published

2022-03-11

·

Updated

2025-07-29

·

CVE-2021-46708

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions swagger-ui-dist versions prior to 4.1.3
Description The issue allows a remote attacker to hijack the clicking action of the victim by persuading them to visit a malicious website, potentially leading to further attacks against the victim.
Recommendations For versions prior to 4.1.3, update to version 4.1.3 or later to resolve the issue. As a temporary workaround, consider restricting access to the swagger-ui-dist package until a patch is applied.

Fix

Clickjacking

Weakness Enumeration

Related Identifiers

CVE-2021-46708
GHSA-6C9X-MJ3G-H47X

Affected Products

Swagger-Ui-Dist