Skip to main content
VulnerabilityPublished Updated

CVE-2024-26467: A DOM Based Cross-site Scripting (XSS)

Source CVE Database V5

0

Not known to be exploited · CVSS 6.1 Medium.

Data as of 26 Oct 2026, 09:15 UTC

CVSS 3.1 base score
6.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Feb 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate this vulnerability, organizations should first check if their applications use the tabatkins/railroad-diagrams library, specifically the generator.html component. If so, they should update to a fixed version once available or apply patches that properly sanitize and encode user input in URLs to prevent script injection. In the absence of an official patch, developers can implement strict input validation and output encoding on any user-controllable data reflected in URLs or DOM elements. Employing Content Security Policy (CSP) headers with strict script-src directives can reduce the impact of injected scripts by restricting script execution sources. Additionally, educating users to avoid clicking suspicious or untrusted URLs can help reduce exploitation likelihood. Regular security reviews and penetration testing focusing on client-side vulnerabilities are recommended to detect similar issues early. Monitoring for updates from the library maintainers and applying them promptly is critical.

Description

A DOM based cross-site scripting (XSS) vulnerability in the component generator.html of tabatkins/railroad-diagrams before commit ea9a123 allows attackers to execute arbitrary Javascript via sending a crafted URL.

References

Community reviews

Loading reviews…