CVE-2024-8622 amCharts: Charts and Maps <= 1.4.4 - Reflected Cross-Site Scripting via Cross-Site Request Forgery

Medium 6.1 Published Updated

Unauthenticated attackers can inject arbitrary JavaScript via reflected XSS in the amCharts WordPress plugin, requiring user interaction to execute.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-8622?

CVE-2024-8622 is a medium-severity cross-site scripting vulnerability in martynasma amCharts: Charts and Maps, published on 12 Sep 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The amCharts: Charts and Maps plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'amcharts_javascript' parameter in all versions up to, and including, 1.4.4 due to the ability to supply arbitrary JavaScript a lack of nonce validation on the preview functionality. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

Weakness: CWE-79

Which versions are affected by CVE-2024-8622?

It affects 1 product.

Products include Amcharts Amcharts\.

How do I fix CVE-2024-8622?

No fix has been published for CVE-2024-8622 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-8622 being exploited?

There is no known exploitation of CVE-2024-8622 in the wild and no public exploit code.

Sources

Also known as GHSA-v8h7-64rh-x555.

Is CVE-2024-8622 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free