unknown

CVE-2026-120988

billboard.js before 4.1.3 is vulnerable to cross‑site scripting due to improper sanitization of series ids during legend template rendering.

Overview

billboard.js before 4.1.3 is vulnerable to cross‑site scripting due to improper sanitization of series ids during legend template rendering. An attacker can inject malicious JavaScript when the chart is rendered, potentially compromising the web application. The flaw affects any site that uses billboard.js for data visualization.

Description

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

Impact

Confidentiality: arbitrary JavaScript execution can lead to data theft or session hijacking. Integrity: attacker can alter chart output or inject malicious code. Availability: not directly impacted. Defenders: web developers and site administrators using billboard.js.

Remediation

Upgrade to billboard.js 4.1.3 or later. If an upgrade is not immediately possible, sanitize or escape series ids before rendering and avoid custom legend templates that use unsanitized input. Consider disabling client‑side rendering of untrusted data.

Risk context

Severity is currently unknown and no EPSS score is available, but the vulnerability allows arbitrary JavaScript execution, which is a high‑impact XSS. Defenders should treat it as a moderate to high risk until a patch is applied.

Affected products

  • billboard.js

Scores

Severity
unknown
CVSS v2
—
CVSS v3
—
CVSS v4
—
EPSS
—

XSS JavaScript Web Chart billboard.js InputSanitization

← All CVEs