Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-27912

Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack when viewing Mautic assets by utilizing inline JS in the title and adding a broken image URL as a remote asset. This can only be leveraged by an authenticated user with permission to create or edit assets.

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

Source evidence

CVE-2021-27912

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 when viewing Mautic assets by utilizing inline JS in the title and adding a broken image URL as a remote asset. This can only be leveraged by an authenticated user with permission to create or edit assets.

osv:CVE-2021-27912
Complete source record
{
  "id": "d11413be683b39a9be2313937e60f34937950e79fa9e93e86fb3e0d58b3dd73c",
  "url": "https://osv.dev/vulnerability/CVE-2021-27912",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-27912",
    "summary": "Mautic versions before 3.3.4/4.0.0 are vulnerable to an inline JS XSS attack when viewing Mautic assets by utilizing inline JS in the title and adding a broken image URL as a remote asset. This can only be leveraged by an authenticated user with permission to create or edit assets.",
    "evidence": "osv:CVE-2021-27912",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-27912",
      "aliases": [
        "CVE-2021-27912",
        "GHSA-rh5w-82wh-jhr8"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/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-27912.json"
          }
        }
      ],
      "modified": "2026-10-20T10:53:41.241958574Z",
      "provider": "osv",
      "references": [
        "https://github.com/mautic/mautic/security/advisories/GHSA-rh5w-82wh-jhr8"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-27912",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384500,
  "published_at": "2021-08-30T16:15:07.403+00:00"
}