CVE-2024-56377 Cross-site scripting in REDCap

Medium 5.4 Published Updated

Authenticated users can inject malicious scripts into REDCap survey titles, leading to arbitrary script execution when victims interact with the survey.

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
None listed

What is CVE-2024-56377?

CVE-2024-56377 is a medium-severity cross-site scripting vulnerability in Vanderbilt REDCap, 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

A stored cross-site scripting (XSS) vulnerability in survey titles of REDCap 14.9.6 allows authenticated users to inject malicious scripts into the Survey Title field or Survey Instructions. When a user receives a survey and clicks anywhere on the survey page to enter data, the crafted payload (which has been injected into all survey fields) is executed, potentially enabling the execution of arbitrary web scripts.

Weakness: CWE-79

Which versions are affected by CVE-2024-56377?

It affects 1 product.

Products include Vanderbilt Redcap.

How do I fix CVE-2024-56377?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-56377 exists.

Sources

Also known as GHSA-j6c2-vwhh-r4vg.

Is CVE-2024-56377 in your software?

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

Check your SBOMs for free