CVE-2020-25798 Cross-site scripting in n/a

Medium 5.4 Published Updated

Authenticated users can inject arbitrary scripts into LimeSurvey participant attributes, leading to code execution in administrators' browsers.

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-2020-25798?

CVE-2020-25798 is a medium-severity cross-site scripting vulnerability in Limesurvey Limesurvey, published on 17 Nov 2020. 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 LimeSurvey before and including 3.21.1 allows authenticated users with correct permissions to inject arbitrary web script or HTML via parameter ParticipantAttributeNamesDropdown of the Attributes on the central participant database page. When the survey attribute being edited or viewed, e.g. by an administrative user, the JavaScript code will be executed in the browser.

Weakness: CWE-79

Which versions are affected by CVE-2020-25798?

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

PackageAffectedFixed in
limesurvey BitnamiAll versions3.21.2

Products include Limesurvey Limesurvey.

How do I fix CVE-2020-25798?

Upgrade limesurvey to 3.21.2 or later.

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-2020-25798 being exploited?

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

All Limesurvey Limesurvey vulnerabilities

Sources

Also known as BIT-limesurvey-2020-25798, GHSA-95p7-w2p2-hhg2.

Is CVE-2020-25798 in your software?

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

Check your SBOMs for free