# CVE-2021-27917: Mautic has an XSS in contact tracking and page hits report

Source: https://junglewise.ai/threats/cve-2021-27917-mautic-has-an-xss-in-contact-tracking-and-page-hits-report  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-09-18  
License: CC BY 4.0 with a link back

CVE-2021-27917 · Severity: low · CVSS 3.1 · Published 2024-09-18

Mautic has an XSS in contact tracking and page hits report

Technologies: [mautic/core (Packagist)](https://junglewise.ai/threats/technologies/packagist-mautic-core), [mautic/core-lib (Packagist)](https://junglewise.ai/threats/technologies/mautic-core-lib). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

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

**How severe is CVE-2021-27917?** Low severity, with a CVSS score of 3.1, published 18 September 2024.

**Which products and versions are affected?** mautic/core (Packagist) ECOSYSTEM:introduced=1.0.0-beta4,fixed=4.4.13; mautic/core-lib (Packagist) ECOSYSTEM:introduced=1.0.0-beta4,fixed=4.4.13.

**Is there a fix for CVE-2021-27917?** Yes. mautic/core (Packagist): upgrade to 4.4.13 or later; mautic/core-lib (Packagist): upgrade to 4.4.13 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-27917?** Check whether you run mautic/core (Packagist) or mautic/core-lib (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

- mautic/core (Packagist): upgrade to 4.4.13 or later

  ```sh
  composer require mautic/core:^4.4.13
  ```

- mautic/core-lib (Packagist): upgrade to 4.4.13 or later

  ```sh
  composer require mautic/core-lib:^4.4.13
  ```


## Affected products

- mautic/core (Packagist) ECOSYSTEM:introduced=1.0.0-beta4,fixed=4.4.13
- mautic/core-lib (Packagist) ECOSYSTEM:introduced=1.0.0-beta4,fixed=4.4.13

## Identifiers

- CVE-2021-27917
- GHSA-xpc5-rr39-v8v2

## Related threats

- [Mautic stored XSS in project selector component](https://junglewise.ai/threats/cve-2026-9811-mautic-stored-xss-in-project-selector-component)
- [Mautic stored XSS in Projects component project tags](https://junglewise.ai/threats/cve-2026-9809-mautic-stored-xss-in-projects-component-project-tags)
- [Mautic Core authorization bypass in API v2 endpoints](https://junglewise.ai/threats/cve-2026-9808-mautic-core-authorization-bypass-in-api-v2-endpoints)
- [Mautic path traversal in campaign import feature](https://junglewise.ai/threats/cve-2026-9559-mautic-path-traversal-in-campaign-import-feature)
- [Mautic Server-Side Template Injection in theme engine](https://junglewise.ai/threats/cve-2026-9558-mautic-server-side-template-injection-in-theme-engine)
