CVE-2020-28487: Cross-site Scripting in vis-timeline
Summary
CVE-2020-28487: Cross-site Scripting in vis-timeline. Affects vis-timeline versions < 7.4.4. Fixed in 7.4.4. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The vis-timeline package is an open-source npm package that provides a timeline visualization component for web applications. It allows developers to create interactive timelines to display events, schedules, or any time-based data. The package is widely used in various web development projects.
Vulnerability Detail
The vis-timeline package before version 7.4.4 is affected by a Cross-site Scripting (XSS) vulnerability. An attacker who can control the items of a Timeline element can inject additional script code into the generated application. This can lead to the execution of malicious code in the context of the user's browser, potentially compromising the confidentiality and integrity of user data. The vulnerability has a CVSS score of 6.8, indicating a moderate severity level.
How To Fix
Latest published version: 8.5.4 as of 22 Oct 2026
npm install vis-timeline@8.5.4
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
7.4.4
This is the first release that contains the fix.
npm install vis-timeline@7.4.4
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to update the package to the fixed version as soon as possible.
Conclusion
The vis-timeline package before version 7.4.4 is vulnerable to a Cross-site Scripting (XSS) attack. It is crucial for developers using this package to upgrade to version 7.4.4 or later to protect their applications from potential security breaches. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for vis-timeline →
FAQ
The vulnerability allows an attacker to inject malicious script code into the application, potentially leading to unauthorized access, data theft, or other malicious activities.
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file and the Vulert Playground will analyze it for any open-source vulnerabilities, including this one.
There are no known public exploits for this vulnerability at the time of this report. However, it is crucial to update the package to the fixed version to mitigate the risk.
Yes, a patch is available for this vulnerability. Developers should upgrade the vis-timeline package to version 7.4.4 or later to fix the issue.
No, updating the package to the fixed version is the recommended solution to mitigate the risk associated with this vulnerability.