CVE-2019-16172 Cross-site Scripting in LimeSurvey
Stored XSS in LimeSurvey allows low-privileged users to escalate privileges to SuperAdmin via malicious survey group titles.
- 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-16172?
CVE-2019-16172 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 stored XSS for escalating privileges from a low-privileged account to, for example, SuperAdmin. The attack uses a survey group in which the title contains JavaScript that is mishandled upon group deletion.
Weakness: CWE-79
Which versions are affected by CVE-2019-16172?
2 open source packages ship an affected version, including limesurvey/limesurvey. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
limesurvey/limesurvey Packagist | All versions | 3.17.14 |
limesurvey/limesurvey Packagist | All versions | 3.17.14 |
Products include Limesurvey Limesurvey.
How do I fix CVE-2019-16172?
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-16172 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-16172 exists.
Public exploit code: 1 Exploit-DB entry and 1 proofs of concept on GitHub.
Other vulnerabilities in Limesurvey Limesurvey
Sources
Also known as GHSA-fr47-r224-c36m.