Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-27911

Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack through the contact's first or last name and triggered when viewing a contact's details page then clicking on the action drop down and hovering over the Campaigns button. Contact first and last name can be populated from different sources such as UI, API, 3rd party syncing, forms, etc.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-27911
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:15 UTC · Revision 1

Source evidence

CVE-2021-27911

core-osv · Original source

Published 30 Aug 2021, 16:15 UTC

Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack through the contact's first or last name and triggered when viewing a contact's details page then clicking on the action drop down and hovering over the Campaigns button. Contact first and last name can be populated from different sources such as UI, API, 3rd party syncing, forms, etc.

osv:CVE-2021-27911
Complete source record
{
  "id": "683ff6f3df357f4df8731af0bebfca57922d6ef8ee3da6dac932b53c6bea92c4",
  "url": "https://osv.dev/vulnerability/CVE-2021-27911",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-27911",
    "summary": "Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack through the contact's first or last name and triggered when viewing a contact's details page then clicking on the action drop down and hovering over the Campaigns button. Contact first and last name can be populated from different sources such as UI, API, 3rd party syncing, forms, etc.",
    "evidence": "osv:CVE-2021-27911",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-27911",
      "aliases": [
        "CVE-2021-27911",
        "GHSA-72hm-fx78-xwhc"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mautic/mautic",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "2f4cf5264a1281d029f002858b41b4efb80d8e83"
                },
                {
                  "introduced": "823a23c4c0148841f7f23c33c56167cfb59d0c99"
                },
                {
                  "last_affected": "5431e0384d181972b22b532e33d30c7089f2ae63"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:acquia:mautic:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.3.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:acquia:mautic:4.0.0:alpha1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-alpha1"
                      },
                      {
                        "last_affected": "4.0.0-alpha1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:acquia:mautic:4.0.0:beta:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-beta"
                      },
                      {
                        "last_affected": "4.0.0-beta"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:acquia:mautic:4.0.0:rc:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0-rc"
                      },
                      {
                        "last_affected": "4.0.0-rc"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.0.0-alpha1",
            "4.0.0-beta",
            "4.0.0-rc",
            "3.3.3",
            "3.3.3-rc",
            "3.3.2",
            "3.3.2-rc",
            "3.3.0-rc",
            "3.1.0",
            "3.1.0-rc",
            "3.0.1",
            "2.14.2-beta",
            "2.12.2-beta",
            "2.8.0",
            "2.7.1",
            "2.7.0",
            "2.6.1",
            "2.6.0",
            "2.5.1",
            "2.5.0",
            "2.4.0",
            "2.3.0",
            "2.2.1",
            "2.2.0",
            "2.1.1",
            "2.1.0",
            "2.0.1",
            "2.0.0",
            "1.4.1",
            "1.4.0",
            "1.3.1",
            "1.3.0",
            "1.2.4",
            "1.2.3",
            "1.2.2",
            "1.2.1",
            "1.2.0",
            "1.1.3",
            "1.1.2",
            "1.1.1",
            "1.1.0",
            "1.0.5",
            "1.0.4",
            "1.0.3",
            "1.0.2",
            "1.0.1",
            "1.0.0",
            "1.0.0-rc4",
            "1.0.0-rc3",
            "1.0.0-rc2",
            "1.0.0-rc1",
            "1.0.0-beta4",
            "1.0.0-beta3",
            "1.0.0-beta2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-27911.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:41.165170502Z",
      "provider": "osv",
      "references": [
        "https://github.com/mautic/mautic/security/advisories/GHSA-72hm-fx78-xwhc"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-27911",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384498,
  "published_at": "2021-08-30T16:15:07.347+00:00"
}