{"answers":{"affected":"2 open source packages ship an affected version, including @knight-lab/timelinejs. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-15092 in the wild and no public exploit code.","fix":"Upgrade @knight-lab/timelinejs to 3.7.0 or later.","what":"CVE-2020-15092 is a high-severity cross-site scripting vulnerability in NUKnightLab TimelineJS3, published on 9 Jul 2020. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-15092 and fix it if it is affected.\n\nWhat it is: CVE-2020-15092 is a high-severity cross-site scripting vulnerability in NUKnightLab TimelineJS3, published on 9 Jul 2020. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-15092 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @knight-lab/timelinejs (npm): affected all versions; fixed in 3.7.0\n- @knight-lab/timelinejs (npm): affected all versions; fixed in 3.7.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2020-15092/ (Markdown: https://insights.sbomify.com/CVE-2020-15092/index.md)","id":"CVE-2020-15092","markdown":"https://insights.sbomify.com/CVE-2020-15092/index.md","name":"CVE-2020-15092","record":{"aliases":["GHSA-2jpm-827p-j44g"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"TimelineJS3 library","requires_auth":"high_privilege","summary":"Attackers can inject malicious scripts via crafted timeline data, leading to code execution in victim browsers.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"timelinejs","vendor":"northwestern"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Stored XSS in TimelineJS3","id":"CVE-2020-15092","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":2,"n_references":2,"next":{"headline":"Improper verification of signature threshold in tough","id":"CVE-2020-15093"},"packages":[{"ecosystem":"npm","fixed":["3.7.0"],"introduced":["0"],"last_affected":[],"package":"@knight-lab/timelinejs","purl":null,"source":"GHSA-2jpm-827p-j44g"},{"ecosystem":"npm","fixed":["3.7.0"],"introduced":["0"],"last_affected":[],"package":"@knight-lab/timelinejs","purl":"pkg:npm/%40knight-lab/timelinejs","source":"GHSA-2jpm-827p-j44g"}],"prev":{"headline":"Denial of Service in TenderMint","id":"CVE-2020-15091"},"products":["TimelineJS3"],"published":"2020-07-09","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["NUKnightLab"]},"summary":"Attackers can inject malicious scripts via crafted timeline data, leading to code execution in victim browsers.","url":"https://insights.sbomify.com/CVE-2020-15092/"}