# CVE-2026-120988: billboard.js before 4.1.3 cross-site scripting via series ids in legend template rendering

Source: https://aplosec.si/cve/CVE-2026-120988/

[AploSec](https://aplosec.si/) / [Disclosures](https://aplosec.si/disclosures/) / CVE-2026-120988

Medium 4.7 · Fix merged · Fixed in 4.1.3 · CWE-79 · npm

# billboard.js before 4.1.3 cross-site scripting via series ids in legend template rendering

CVE-2026-120988 · published 2026-11-03

In plain words: this type of bug lets someone run scripts in another person's browser (cross-site scripting, XSS). A fixed release is listed.

## Summary

CVE-2026-120988 affects billboard.js (npm) < 4.1.3: XSS via series ids in legend template rendering (CWE-79). Fixed in 4.1.3. CVSS GitHub base score 4.7 (Medium), assigned by GitHub advisory. Published 2026-11-03 by NAVER. Credit: Zachariah Mithani.

billboard.js before 4.1.3 allows an attacker to execute malicious JavaScript due to improper sanitization of series ids during legend template rendering.

## Evidence

The maintainer accepted the patch submitted with the report and merged the fix.

## Remediation

Upgrade billboard.js to 4.1.3 or later. Releases in the affected range (< 4.1.3) are vulnerable. See the linked advisory for details on affected release lines.

## Timeline

- 2026-11-03 CVE published

- 2026-11-05 Public record last updated

## Related advisory records

- [GHSA-g5px-mcqp-3ghp](https://github.com/naver/billboard.js/security/advisories/GHSA-g5px-mcqp-3ghp) : Medium 4.7, as assessed in the GitHub advisory.

These records cover the same issue or related issues. They are linked here rather than counted again in the disclosure list. Severity assessments may differ by source and scope.

## References

- [Referencehttps://cve.naver.com/detail/cve-2026-120988.html](https://cve.naver.com/detail/cve-2026-120988.html)

- [Referencehttps://github.com/naver/billboard.js/security/advisories/GHSA-g5px-mcqp-3ghp](https://github.com/naver/billboard.js/security/advisories/GHSA-g5px-mcqp-3ghp)

- [CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-120988](https://www.cve.org/CVERecord?id=CVE-2026-120988)

- [NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-120988](https://nvd.nist.gov/vuln/detail/CVE-2026-120988)

**Severity:** Medium 4.7 CVSS GitHub, scored by GitHub advisory in the [CVE record](https://www.cve.org/CVERecord?id=CVE-2026-120988)

**Package:** billboard.js

**Ecosystem:** npm

**Affected:** < 4.1.3

**Fixed:** 4.1.3

**Weakness:** CWE-79

**CNA:** NAVER

**Credit:** Zachariah Mithani finder
