Vulnerability DatabaseGHSA-5p28-63mc-cgr9

GHSA-5p28-63mc-cgr9
JavaScript vulnerability analysis and mitigation

Overview

A high-severity Cross-Site Scripting (XSS) vulnerability was identified in the html-purify npm package, tracked as GHSA-5p28-63mc-cgr9. The vulnerability affects all versions up to and including 1.1.0, with its discovery and disclosure occurring on December 4, 2020. The vulnerability was last updated in the GitHub Advisory Database on January 9, 2023 (GitHub Advisory).

Technical details

The vulnerability stems from improper sanitization of the data attribute within object tags, which allows javascript URIs to be processed, potentially leading to code execution. The issue is classified under CWE-79 (Cross-site Scripting) and has been assigned a high severity rating (GitHub Advisory, NPM Advisory).

Impact

When exploited, this vulnerability could allow attackers to execute arbitrary JavaScript code in the context of the affected application, potentially leading to unauthorized access to sensitive information or manipulation of web content (GitHub Advisory).

Exploitability

The vulnerability can be exploited through the manipulation of object tags' data attributes, as the sanitization mechanism can be bypassed to inject malicious JavaScript URIs (GitHub Advisory).

Mitigation and workarounds

No official patch or fix is currently available for this vulnerability. Users are advised to consider using alternative HTML sanitization packages until a fix is made available (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-48170CRITICAL9.1
  • JavaScript logoJavaScript
  • scim-patch
NoYesAug 07, 2026
CVE-2026-48007HIGH8.6
  • JavaScript logoJavaScript
  • @element-hq/element-call-embedded
NoYesAug 07, 2026
CVE-2026-69207MEDIUM5.3
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026
CVE-2026-71850MEDIUM4.8
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026
CVE-2026-71849LOW3.7
  • JavaScript logoJavaScript
  • hono
NoYesAug 07, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management