GIVE YOUR AGENT THE EVIDENCE

Set up in your agent.

One prompt to get started. Paste it into your coding agent to connect cve.new through MCP and bring vulnerability context into your workflow.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GIVE YOUR AGENT THE EVIDENCE

Investigate in your agent.

Turn this advisory into a focused investigation. Ask your agent to check your project’s versions, explain the evidence, and suggest a compatible fix.

Your agent needs remote MCP support and access to https://cve.new/mcp.

Read the setup guide

GHSA-9v8p-m85m-f7mmmedium4.8

Mautic vulnerable to reflected XSS in lead:addLeadTags - Quick Add

Check your stack

The advisory, in context

Summary

A Cross-Site Scripting (XSS) vulnerability allows an attacker to execute arbitrary JavaScript in the context of another user’s session. This occurs because user-supplied input is reflected back in the server’s response without proper sanitization or escaping, potentially enabling malicious actions such as session hijacking, credential theft, or unauthorized actions in the application.

Details

The vulnerability resides in the “Tags” input field on the /s/ajax?action=lead:addLeadTags endpoint. Although the server applies sanitization before storing the data or returning it later, the payload is executed immediately in the victim’s browser upon reflection, allowing an attacker to run arbitrary JavaScript in the user’s session.

Impact

A Reflected XSS attack can have a significant impact, allowing attackers to steal sensitive user data like cookies, redirect users to malicious websites, manipulate the web page content, and essentially take control of a user's session within an application by executing malicious JavaScript code within the victim's browser, even if the server-side code is secure; essentially enabling them to perform actions as if they were the logged-in user.

References

Affected packages

Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.

mautic/core Packagist
Ecosystem versions

From 4.4.0 before 4.4.17

Fixed in 4.4.17

14 explicitly affected versions

4.4.0, 4.4.1, 4.4.10, 4.4.11, 4.4.12, 4.4.13, 4.4.2, 4.4.3, 4.4.4, 4.4.5, 4.4.6, 4.4.7, 4.4.8, 4.4.9

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "4.4.0"
        },
        {
          "fixed": "4.4.17"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "4.4.0",
    "4.4.1",
    "4.4.10",
    "4.4.11",
    "4.4.12",
    "4.4.13",
    "4.4.2",
    "4.4.3",
    "4.4.4",
    "4.4.5",
    "4.4.6",
    "4.4.7",
    "4.4.8",
    "4.4.9"
  ]
}
mautic/core Packagist
Ecosystem versions

From 5.0.0-alpha before 5.2.8

Fixed in 5.2.8

21 explicitly affected versions

5.0.0, 5.0.0-alpha, 5.0.0-alpha1, 5.0.0-beta1, 5.0.0-beta2, 5.0.0-rc1, 5.0.0-rc2, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.1.0, 5.1.1, 5.2.0, 5.2.1, 5.2.2, 5.2.3, 5.2.4, 5.2.5, 5.2.6, 5.2.7

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "5.0.0-alpha"
        },
        {
          "fixed": "5.2.8"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "5.0.0",
    "5.0.0-alpha",
    "5.0.0-alpha1",
    "5.0.0-beta1",
    "5.0.0-beta2",
    "5.0.0-rc1",
    "5.0.0-rc2",
    "5.0.1",
    "5.0.2",
    "5.0.3",
    "5.0.4",
    "5.1.0",
    "5.1.1",
    "5.2.0",
    "5.2.1",
    "5.2.2",
    "5.2.3",
    "5.2.4",
    "5.2.5",
    "5.2.6",
    "5.2.7"
  ]
}
mautic/core Packagist
Ecosystem versions

From 6.0.0-alpha before 6.0.5

Fixed in 6.0.5

8 explicitly affected versions

6.0.0, 6.0.0-alpha, 6.0.0-beta2, 6.0.0-rc, 6.0.1, 6.0.2, 6.0.3, 6.0.4

View affected-version evidence
{
  "ranges": [
    {
      "events": [
        {
          "introduced": "6.0.0-alpha"
        },
        {
          "fixed": "6.0.5"
        }
      ],
      "type": "ECOSYSTEM"
    }
  ],
  "versions": [
    "6.0.0",
    "6.0.0-alpha",
    "6.0.0-beta2",
    "6.0.0-rc",
    "6.0.1",
    "6.0.2",
    "6.0.3",
    "6.0.4"
  ]
}

References