CVE-2019-16173 Cross-site Scripting in LimeSurvey

Medium 5.4 Published Updated

Reflected XSS in LimeSurvey allows low-privileged users to escalate privileges to SuperAdmin, requiring an upgrade to secure the application.

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-2019-16173?

CVE-2019-16173 is a medium-severity cross-site scripting vulnerability in Limesurvey Limesurvey, published on 9 Sep 2019. 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 before v3.17.14 allows reflected XSS for escalating privileges from a low-privileged account to, for example, SuperAdmin. This occurs in application/core/Survey_Common_Action.php,

Weakness: CWE-79

Which versions are affected by CVE-2019-16173?

2 open source packages ship an affected version, including limesurvey/limesurvey. It affects 1 product.

PackageAffectedFixed in
limesurvey/limesurvey PackagistAll versions3.17.14
limesurvey/limesurvey PackagistAll versions3.17.14

Products include Limesurvey Limesurvey.

How do I fix CVE-2019-16173?

Upgrade limesurvey/limesurvey to 3.17.14 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-2019-16173 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Limesurvey Limesurvey vulnerabilities

Sources

Also known as GHSA-r5f2-4wf4-cv66.

Is CVE-2019-16173 in your software?

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

Check your SBOMs for free