# CVE-2021-42112: Cross-site Scripting in Limesurvey

Source: https://junglewise.ai/threats/cve-2021-42112-cross-site-scripting-in-limesurvey  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-10-12  
License: CC BY 4.0 with a link back

CVE-2021-42112 · Severity: low · CVSS 3.1 · Published 2021-10-12

Cross-site Scripting in Limesurvey

Technologies: [limesurvey/limesurvey (Packagist)](https://junglewise.ai/threats/technologies/limesurvey-limesurvey). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2021-42112 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-42112 being exploited in the wild.

**How severe is CVE-2021-42112?** Low severity, with a CVSS score of 3.1, published 12 October 2021.

**Which products and versions are affected?** limesurvey/limesurvey (Packagist) ECOSYSTEM:introduced=0,fixed=3.27.19.

**Is there a fix for CVE-2021-42112?** Yes. limesurvey/limesurvey (Packagist): upgrade to 3.27.19 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-42112?** Check whether you run limesurvey/limesurvey (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- limesurvey/limesurvey (Packagist): upgrade to 3.27.19 or later

  ```sh
  composer require limesurvey/limesurvey:^3.27.19
  ```


## Affected products

- limesurvey/limesurvey (Packagist) ECOSYSTEM:introduced=0,fixed=3.27.19

## Identifiers

- CVE-2021-42112
- GHSA-h9ph-jcgh-gf69

## Related threats

- [LimeSurvey SQL injection in RemoteControl API participant methods](https://junglewise.ai/threats/cve-2026-50636-limesurvey-sql-injection-in-remotecontrol-api-participant-methods)
- [LimeSurvey host header injection in password reset](https://junglewise.ai/threats/cve-2026-50635-limesurvey-host-header-injection-in-password-reset)
- [LimeSurvey SQL injection allows remote data extraction](https://junglewise.ai/threats/cve-2025-56421-limesurvey-sql-injection-allows-remote-data-extraction)
- [LimeSurvey Cross Site Scripting vulnerability](https://junglewise.ai/threats/cve-2024-28709-limesurvey-cross-site-scripting-vulnerability)
- [LimeSurvey Cross Site Scripting vulnerability](https://junglewise.ai/threats/cve-2024-28710-limesurvey-cross-site-scripting-vulnerability)
