CVE-2025-49223CWE-1321

billboard.js before 3.15.1 was discovered to contain a prototype pollution via the function generate, which could allow attackers to execute arbitrary code or…

Critical · published June 4, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
57.4
In the wild
Unconfirmed
What it is

🔥 An arbitrary code execution vulnerability lurks in billboard.js versions before 3.15.1! Just one sneaky function could turn your dashboard into an attacker's playground! Think of it like a restaurant where anyone can walk in and add their secret ingredient to the chef's special recipe. This means the dish could end up being tastier—or downright dangerous—thanks to the unexpected flavors being thrown in! An attacker exploiting this flaw could inject malicious properties, allowing them to execute arbitrary code or create a Denial of Service (DoS) scenario, potentially crashing your application and ruining the user experience. This is a critical issue that could jeopardize system integrity and availability. You definitely don’t want your users to be served a side of chaos!

Put simply

Think of it like a restaurant where anyone can walk in and add their secret ingredient to the chef's special recipe. This means the dish could end up being tastier—or downright dangerous—thanks to the unexpected flavors being thrown in! This prototype pollution vulnerability arises from the 'generate' function in billboard.js, which permits the injection of arbitrary properties, effectively allowing attackers to manipulate the object prototype and execute unexpected code at runtime.

What to do

An attacker exploiting this flaw could inject malicious properties, allowing them to execute arbitrary code or create a Denial of Service (DoS) scenario, potentially crashing your application and ruining the user experience. This is a critical issue that could jeopardize system integrity and availability. You definitely don’t want your users to be served a side of chaos! To mitigate this risk, immediately upgrade billboard.js to version 3.15.1 or later. Additionally, review your code for any potential misuse of the 'generate' function and implement strict input validation to prevent similar issues in the future. You've got this! Stay vigilant, follow the steps, and keep your app secure! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00840 · 57.4th percentile
Weakness
CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Published
2025-06-04T02:00Z
EPSS history
Timeline
  • 04 JUN 02:00Z
    billboard.js before 3.15.1 was discovered to contain a prototype pollution via the function generate, which could allow attackers to execute arbitrary code or…
    cvelistv5