CVE-2024-13294 POST File - Critical - Cross Site Scripting, Arbitrary PHP code execution - SA-CONTRIB-2024-060

Medium 5.4 Published Updated

Attackers can execute arbitrary PHP code and scripts via XSS in the Drupal POST File module, compromising site integrity.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-13294?

CVE-2024-13294 is a medium-severity cross-site scripting vulnerability in Drupal POST File, published on 9 Jan 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Drupal POST File allows Cross-Site Scripting (XSS).This issue affects POST File: from 0.0.0 before 1.0.2.

Weakness: CWE-79

Which versions are affected by CVE-2024-13294?

It affects 1 product.

Linux distribution packages (1)
drupal/postfile Packagist:https://packages.drupal.org/8All versions1.0.2

Products include Post File Project Post File.

How do I fix CVE-2024-13294?

Upgrade to a fixed version.

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-13294 being exploited?

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

Sources

Also known as DRUPAL-CONTRIB-2024-060, GHSA-9838-cxcw-r6rf.

Is CVE-2024-13294 in your software?

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

Check your SBOMs for free