Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2020-28487
JavaScript vulnerability analysis and mitigation

Overview

A cross-site scripting (XSS) vulnerability was discovered in vis-timeline before version 7.4.4. The vulnerability was assigned CVE-2020-28487 and was disclosed on December 25, 2020. The vulnerability affects the Timeline element where an attacker with the ability to control the items can inject additional script code into the generated application (Snyk).

Technical details

The vulnerability is classified as a medium severity issue with a CVSS base score of 6.8. The attack requires network access, low attack complexity, low privileges, and user interaction. The vulnerability allows an attacker to potentially achieve high confidentiality impact with low integrity and availability impacts. The vulnerability is related to improper neutralization of input during web page generation (CWE-79) (NVD).

Impact

If exploited, this vulnerability could allow attackers to inject malicious JavaScript code that executes in the context of the user's browser. This could potentially lead to theft of session cookies, hijacking of user sessions, exposure of sensitive information, and access to privileged services and functionality (Snyk).

Exploitability

A proof-of-concept exploit exists demonstrating how an attacker can inject malicious code through the Timeline element's content property. The exploit involves inserting HTML img tags with malicious onerror JavaScript handlers (Snyk).

Mitigation and workarounds

The vulnerability was fixed in version 7.4.4 of vis-timeline. Users are recommended to upgrade to this version or later to address the security issue. The fix involved adding the XSS library to improve security (GitHub PR).

Community reactions

The vulnerability was initially reported through a GitHub issue (#838) and subsequently fixed through pull request #840. The fix was released in version 7.4.4 on December 20, 2020. Some developers raised concerns about the fix being a breaking change due to its strict sanitization approach (GitHub PR).

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-54504HIGH8.8
  • JavaScript logoJavaScript
  • @andrea9293/mcp-documentation-server
NoYesSep 17, 2026
CVE-2026-77615HIGH8.7
  • JavaScript logoJavaScript
  • paella-core
NoYesSep 17, 2026
CVE-2026-91127HIGH8.2
  • JavaScript logoJavaScript
  • @file-viewer/doc
NoYesSep 18, 2026
CVE-2026-77301HIGH7.5
  • JavaScript logoJavaScript
  • openclaw
NoYesSep 18, 2026
CVE-2026-84992MEDIUM6.1
  • JavaScript logoJavaScript
  • md-editor-v3
NoYesSep 18, 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