SecurityContext

CVE-2020-15092: TimelineJS - Stored XSS

  • Cve: CVE-2020-15092
  • Name: TimelineJS - Stored XSS
  • Description: 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.
  • Impact: Attackers can execute arbitrary scripts in users' browsers, potentially leading to session hijacking, data theft, or site defacement.
  • Remediation: Update to version 3.7.0 or later, or update the WordPress plugin to the latest version that includes the fix.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.0106
  • Epss percentile: 0.65406
  • Assignee: [email protected]
  • Published at: 2020-07-09T19:15:11Z
  • Age in days: 2329
  • Modified at: 2026-06-17T02:56:02Z
  • Patch available: yes
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-15092
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

References

UrlSourceTags
https://github.com/NUKnightLab/TimelineJS3/security/advisories/GHSA-2jpm-827p-j44gnvdPatch, Third Party Advisory
https://knightlab.northwestern.edu/posts/nvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
northwestern:timelinejs< 3.7.0nonvd/v1/products/northwestern/timelinejs

Projects

RepositoryLink kindsIndexedUrl
NUKnightLab/TimelineJS3security_advisoryyes/v1/repositories/NUKnightLab/TimelineJS3

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts