Stored XSS in TimelineJS3
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
In TimelineJS before version 3.7.0, some user data renders as HTML. An attacker could implement an XSS exploit with maliciously crafted content in a number of data fields. This risk is present whether the source data for the timeline is stored on Google Sheets or in a JSON configuration file. Most TimelineJS users configure their timeline with a Google Sheets document. Those users are exposed to this vulnerability if they grant write access to the document to a malicious inside attacker, if the access of a trusted user is compromised, or if they grant public write access to the document. Some TimelineJS users configure their timeline with a JSON document. Those users are exposed to this vulnerability if they grant write access to the document to a malicious inside attacker, if the access of a trusted user is compromised, or if write access to the system hosting that document is otherwise compromised. Version 3.7.0 of TimelineJS addresses this in two ways. For content which is intended to support limited HTML markup for styling and linking, that content is "sanitized" before being added to the DOM. For content intended for simple text display, all markup is stripped. Very few users of TimelineJS actually install the TimelineJS code on their server. Most users publish a timeline using a URL hosted on systems we control. The fix for this issue is published to our system such that **those users will automatically begin using the new code**. The only exception would be users who have deliberately edited the embed URL to "pin" their timeline to an earlier version of the code. Some users of TimelineJS use it as a part of a wordpress plugin (knight-lab-timelinejs). Version 3.7.0.0 of that plugin and newer integrate the updated code. Users are encouraged to update the plugin rather than manually update the embedded version of TimelineJS.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NUKnightLab | TimelineJS3 | before 3.7.0 | 3.7.0 | Patch available | CNA |
| — | @knight-lab/timelinejs (npm) | before 3.7.0 | 3.7.0 | Patch available | GHSA-2jpm-827p-j44g |
- TimelineJS3 VendorNUKnightLab Affected before 3.7.0 Fixed in 3.7.0 Patch available CNA
- @knight-lab/timelinejs (npm) Vendor— Affected before 3.7.0 Fixed in 3.7.0 Patch available GHSA-2jpm-827p-j44g
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:northwestern:timelinejs:*:*:*:*:*:*:*:* | before 3.7.0 | Vulnerable | Northwestern |
- cpe:2.3:a:northwestern:timelinejs:*:*:*:*:*:*:*:* Versions before 3.7.0 Vulnerable ·Northwestern
Remediation
- Fix · CNA TimelineJS3 (NUKnightLab) Fixed in 3.7.0
- Fix · GHSA-2jpm-827p-j44g @knight-lab/timelinejs (npm) Fixed in 3.7.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-15092
- 2026-10-03 Alias added: GHSA-2jpm-827p-j44g
References
More NUKnightLab vulnerabilities
- TI-2024-02124 Knight Lab Timeline <= 3.9.3.3 - Authenticated(Contributor+) Stored Cross-Site Scripting via Shortcode CVSS 3.1MEDIUM 6.4
Sources
- CVE-2020-15092 · CVE Program
- CVE-2020-15092 · NVD
- FIRST EPSS
- GHSA-2jpm-827p-j44g · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences