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

Medium 5.4 Published Updated

An attacker can inject malicious JavaScript via participant name fields, which executes in the browser of administrative users editing those participants.

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-25797?

CVE-2020-25797 is a medium-severity cross-site scripting vulnerability in Limesurvey Limesurvey, published on 31 Dec 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

LimeSurvey 3.21.1 is affected by cross-site scripting (XSS) in the Add Participants Function (First and last name parameters). When the survey participant being edited, 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-25797?

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

PackageAffectedFixed in
limesurvey BitnamiFrom 3.21.13.21.2

Products include Limesurvey Limesurvey.

How do I fix CVE-2020-25797?

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

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

All Limesurvey Limesurvey vulnerabilities

Sources

Also known as BIT-limesurvey-2020-25797, GHSA-jfwm-3rx7-mcj8.

Is CVE-2020-25797 in your software?

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

Check your SBOMs for free