Every CVESearch/Get API key

GHSA-vp93-gcx5-4w52

Cross-Site Scripting in swagger-ui

No scoreFix available

GHSA-vp93-gcx5-4w52 is a vulnerability with no CVSS score yet in swagger-ui, published September 11, 2020. No source lists public exploit code. Fixed in swagger-ui 2.2.1.

Severity
UnratedNo CVSS score yet
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
2.2.1swagger-ui

Description

Versions of swagger-ui prior to 2.2.1 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize JSON schemas, allowing attackers to execute arbitrary JavaScript using <script> tags in the method descriptions.

Recommendation

Upgrade to version 2.2.1 or later.

Affected packages

Affected packages
PackageAffectedFixed
swagger-ui
npm
before 2.2.1
2.2.1

What each source reports

GitHub AdvisoriesNo score

Cross-Site Scripting in swagger-ui

Versions of swagger-ui prior to 2.2.1 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize JSON schemas, allowing attackers to execute arbitrary JavaScript using <script> tags in the method descriptions.

Recommendation

Upgrade to version 2.2.1 or later.

Record
GHSA-vp93-gcx5-4w52
Weakness
CWE-79
Updated
2026-11-02
OSVNo score

Cross-Site Scripting in swagger-ui

Versions of swagger-ui prior to 2.2.1 are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize JSON schemas, allowing attackers to execute arbitrary JavaScript using <script> tags in the method descriptions.

Recommendation

Upgrade to version 2.2.1 or later.

Record
GHSA-vp93-gcx5-4w52
Weakness
CWE-79
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open