CVE-2024-13378 GravityForms 2.9.0.1 - 2.9.1.3 - Unauthenticated Stored Cross-Site Scripting via 'style_settings' parameter

Medium 5.4 Published Updated

Unauthenticated attackers can inject arbitrary scripts via the style_settings parameter, executing code in Chrome browsers when users view media attachments.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-13378?

CVE-2024-13378 is a medium-severity cross-site scripting vulnerability in Gravity Forms, published on 17 Jan 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Gravity Forms plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘style_settings’ parameter in versions 2.9.0.1 up to, and including, 2.9.1.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The attack is only successful in the Chrome web browser, and requires directly browsing the media file via the attachment post.

Weakness: CWE-79

Which versions are affected by CVE-2024-13378?

How do I fix CVE-2024-13378?

No fix has been published for CVE-2024-13378 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-13378 being exploited?

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

Sources

Also known as GHSA-fh4j-49c8-h6mv.

Is CVE-2024-13378 in your software?

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

Check your SBOMs for free