CVE-2021-42112
MEDIUM 6.1CVSS 3.1Cross-site Scripting in Limesurvey
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.
- Published
- 8 Oct 2021
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- BIT-limesurvey-2021-42112GHSA-h9ph-jcgh-gf69
- Sources
- NVDJSONOSV GHSA-h9ph-jcgh-gf69JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | limesurvey | limesurveycpe:2.3:a:limesurvey:limesurvey:*:*:*:*:*:*:*:* |
>= 3.0.0, <= 3.27.18 | |
| OSV | Packagist | limesurvey/limesurvey | < 3.27.19 | 3.27.19 |
References
- https://bugs.limesurvey.org/view.php?id=17562 · Permissions Required, WEB
- https://github.com/LimeSurvey/LimeSurvey/commit/d56619a50cfd191bbffd0adb660638a5e438070d · Patch, Third Party Advisory, WEB
- https://www.on-x.com/sites/default/files/on-x_-_security_advisory_-_limesurvey_-_cve-2021-42112.pdf · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-42112 · ADVISORY
- https://github.com/LimeSurvey/LimeSurvey/pull/2044 · WEB
- https://github.com/LimeSurvey/LimeSurvey · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 8 Oct 2021)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 12 Oct 2021)