CVE-2025-9821: Mautic/core Mautic Vulnerable To SSRF Vulnerability

LOW
Advisory Identifier: GHSA-hj6f-7hp7-xg69
CVSS 2.7
CWE-918
Published
Advisory Summary

CVE-2025-9821 is a LOW (CVSS 2.7) mautic vulnerable to ssrf vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Mautic/core libraries in the Packagist ecosystem. The issue involves mautic vulnerable to ssrf via webhook function. Remediation is available by upgrading affected packages to version 4.4.17, 5.2.8, 6.0.5.

CVE-2025-9821 at a Glance

CVE Identifier CVE-2025-9821
GHSA Identifier GHSA-hj6f-7hp7-xg69
Severity LOW
CVSS v3.1 Base Score 2.7
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Mautic/core
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 2.7

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required High (PR:H)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2025-9821

To remediate this vulnerability, upgrade all affected Mautic/core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mautic/core fixed: 4.4.17
Upgrade mautic/core to 4.4.17
mautic/core fixed: 5.2.8
Upgrade mautic/core to 5.2.8
mautic/core fixed: 6.0.5
Upgrade mautic/core to 6.0.5
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for mautic/core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2025-9821, inspect your project dependencies for Mautic/core:

inspect dependencies for mautic/core

Analyze the terminal output to locate any version of Mautic/core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.4.17), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Mautic/core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary Users with webhook permissions can conduct SSRF via webhooks. If they have permission to view the webhook logs, the (partial) request response is also disclosed ### Details When sending webhooks, the destination is not validated, causing SSRF. ### Impact Bypass of firewalls to interact with internal services. See https://owasp.org/Top10/A10_2021-Server-Side_Request_Forgery_%28SSRF%29/ for more potential impact. ### Resources https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html for more information on SSRF and its fix

CVE-2025-9821 Affected Mautic/core Versions

3 component(s)
Fixed Versions:
4.4.175.2.86.0.5
Product / Package Ecosystem Affected Versions Fixed Version
mautic/core
Packagist
≥ 4.4.0
< 4.4.17
4.4.17
mautic/core
Packagist
≥ 5.0.0-alpha
< 5.2.8
5.2.8
mautic/core
Packagist
≥ 6.0.0-alpha
< 6.0.5
6.0.5

References

Frequently Asked Questions

What is CVE-2025-9821?
CVE-2025-9821 is a security vulnerability in Mautic/core involving Mautic vulnerable to SSRF via webhook function under CWE-918: Server-Side Request Forgery (SSRF).
Which Mautic/core versions are affected?
Affected versions include releases prior to 4.4.17, 5.2.8, 6.0.5 across affected packages: mautic/core.
What version fixes CVE-2025-9821?
Upgrading to 4.4.17, 5.2.8, 6.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mautic/core affected?
Yes, mautic/core is affected in releases prior to 4.4.17, 5.2.8, 6.0.5. Upgrade your dependency to 4.4.17, 5.2.8, 6.0.5 or later.
What is the CVSS score of CVE-2025-9821?
CVE-2025-9821 has a CVSS v3.1 base score of 2.7 (LOW) with vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2025-9821?
CVE-2025-9821 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check Packagist dependencies for CVE-2025-9821?
Run the dependency tree command: 'inspect dependencies for mautic/core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-hj6f-7hp7-xg69",
  "modified" : "2025-09-03T22:11:32Z",
  "published" : "2025-09-03T22:11:32Z",
  "aliases" : [ "CVE-2025-9821" ],
  "summary" : "Mautic vulnerable to SSRF via webhook function",
  "details" : "### Summary\nUsers with webhook permissions can conduct SSRF via webhooks. If they have permission to view the webhook logs, the (partial) request response is also disclosed\n\n### Details\nWhen sending webhooks, the destination is not validated, causing SSRF.\n\n### Impact\nBypass of firewalls to interact with internal services. \nSee https://owasp.org/Top10/A10_2021-Server-Side_Request_Forgery_%28SSRF%29/ for more potential impact.\n\n### Resources\nhttps://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html for more information on SSRF and its fix",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "mautic/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.4.0"
      }, {
        "fixed" : "4.4.17"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "mautic/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.0.0-alpha"
      }, {
        "fixed" : "5.2.8"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "mautic/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "6.0.0-alpha"
      }, {
        "fixed" : "6.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/mautic/mautic/security/advisories/GHSA-hj6f-7hp7-xg69"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-9821"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mautic/mautic/commit/6084f6de4c88d1aeb5f6c73ea4fe1b09c98ea52b"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mautic/mautic/commit/dc5bb1466c9a48fd34768dc8ff5888716b2916ba"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mautic/mautic"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "LOW",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-09-03T22:11:32Z",
    "nvd_published_at" : "2025-09-03T10:15:38Z"
  }
}