CVE-2021-42112Limesurvey
Medium 6.1 No auth needed
Follow: this CVE · Limesurvey · Limesurvey We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.5% probability of exploitation in 30 days · percentile 75
- Auth required
- No
- Published
- Oct 8, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
The "File upload question" functionality in LimeSurvey 3.x-LTS through 3.27.18 allows XSS in assets/scripts/modaldialog.js and assets/scripts/uploader.js.
What to do
- Apply the vendor's security update for Limesurvey.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | limesurvey/limesurvey |
< 3.27.19 |
3.27.19 |
composer require "limesurvey/limesurvey:^3.27.19" |
Per OSV / GitHub Advisories (GHSA-h9ph-jcgh-gf69). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| limesurvey | limesurvey | ≥ 3.0.0 ≤ 3.27.18 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.limesurvey.org Permissions Required
- github.com Patch Third Party Advisory
- www.on-x.com Exploit Third Party Advisory