Intel

AIKIDO-2025-10221

chartist is vulnerable to Prototype Pollution

CVE-2024-45435Published Apr 8, 2025
April 8, 2025

98

CVE Score

Critical

Prototype Pollution

Are you affected? Scan for Free

TL;DR

Affected versions of the chartist package are vulnerable to prototype pollution due to missing validation when assigning object properties. An attacker can exploit this by injecting malicious properties via the __proto__ key, which can recursively pollute the object prototype and affect all objects across the application.

How do I fix this?

Upgrade the chartist library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

1.0.0 - 1.3.0

Fixed in 1.3.1

Background info

chartist is vulnerable to Prototype Pollution in versions 1.0.0 - 1.3.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea