CVE-2024-42902 Code injection in n/a

High 8.8 Published Updated

Attackers can execute arbitrary code in LimeSurvey by injecting a crafted payload into the lng parameter of the js_localize.php function.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-42902?

CVE-2024-42902 is a high-severity code injection vulnerability in Limesurvey Limesurvey, published on 3 Sep 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue in the js_localize.php function of LimeSurvey v6.6.2 and before allows attackers to execute arbitrary code via injecting a crafted payload into the lng parameter of the js_localize.php function

Weakness: CWE-94

Which versions are affected by CVE-2024-42902?

1 open source package ship an affected version, including limesurvey. It affects 1 product.

PackageAffectedFixed in
limesurvey BitnamiAll versions6.15.5

Products include Limesurvey Limesurvey.

How do I fix CVE-2024-42902?

Upgrade limesurvey to 6.15.5 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2024-42902 being exploited?

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

All Limesurvey Limesurvey vulnerabilities

Sources

Also known as BIT-limesurvey-2024-42902, GHSA-wqr2-8c98-rxv3.

Is CVE-2024-42902 in your software?

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

Check your SBOMs for free