CVE-2021-42112
Cross-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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
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.
- Record
CVE-2021-42112- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-42112- Updated
- 2026-11-02
EUVDEUVD-2021-2210 No score
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.
- Record
EUVD-2021-2210- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h9ph-jcgh-gf69
6.1
Cross-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.
- Record
GHSA-h9ph-jcgh-gf69- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
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.
- Record
CVE-2021-42112- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-h9ph-jcgh-gf69
6.1
Cross-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.
- Record
GHSA-h9ph-jcgh-gf69- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVBIT-limesurvey-2021-42112 No score
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.
- Record
BIT-limesurvey-2021-42112- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
limesurvey/limesurveyPackagist |
before 3.27.19 | 3.27.19 |
limesurveyBitnami |
3.0.0 up to 3.27.19 | 3.27.19 |
limesurvey/limesurveyPackagist |
before 3.27.19, plus listed versions 1.0.42.2.52.65.2+1706062.65.3+1706072.65.4+170612 Show 45 moreShow less2.65.5+1706132.65.6+1706152.66.6+1706192.67.0+1706222.67.1+1706262.67.2+1707282.67.3+1707282.70.0+1709212.71.0+1709252.71.1+1709272.72.0+1710102.72.1+1710122.72.2+1710172.72.3+1710202.72.4+1711102.72.5+1711212.72.6+1712072.73.0+1712192.73.1+1712203.0.0+1712223.0.0-RC.13.0.0-RC.2+1711023.0.0-RC.3+1711143.0.0-beta.1+1707203.0.0-beta.2+1708103.0.0-beta.3+1709143.0.1+1712283.0.2+1801103.0.3+1801123.0.4+1801163.0.5+1801183.1.03.1.1+1801303.10.0+1806113.11.0+1806123.12.0+1806153.12.1+1806163.12.2+1806253.12.3+1806273.13.0+1806283.13.1+1806293.13.2+1807093.14.0+1807303.14.1+1807313.14.10+180926 |
3.27.19 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-42112 is a medium vulnerability (CVSS 6.1) in Limesurvey, published October 8, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.53%, the 74th percentile. Fixed in limesurvey/limesurvey 3.27.19.
References
bugs.limesurvey.org/view.php?id=17562
github.com/LimeSurvey/LimeSurvey/commit/d56619a50cfd191bbffd0adb660638a5e438070d
on-x.com/sites/default/files/on-x_-_security_advisory_-_limesurvey_-_cve-2021-42112.pdf
nvd.nist.gov/vuln/detail/CVE-2021-42112
github.com/LimeSurvey/LimeSurvey/pull/2044
github.com/advisories/GHSA-h9ph-jcgh-gf69
github.com/LimeSurvey/LimeSurvey
Left out here: 171 versions. The JSON record has them.