Skip to content

Server-Side Request Forgery (SSRF) in Webhook Configuration

Critical
SebastianStehle published GHSA-wxg2-953m-fg2w Jan 26, 2026

Package

Squidex CMS (Squidex ) (C#)

Affected versions

<= 7.21.0

Patched versions

None

Description

Security Vulnerability Report: Server-Side Request Forgery (SSRF) in Webhook Configuration

  • Affected Component: Squidex API (Webhook Rules Engine)

Summary

The application allows users to define “Webhooks” as actions within the Rules engine. The url parameter in the webhook configuration does not appear to validate or restrict destination IP addresses. It accepts local addresses such as 127.0.0.1, localhost

When a rule is triggered (Either manual trigger by manually calling the trigger endpoint or by a content update or any other triggers), the backend server executes an HTTP request to the user-supplied URL. Crucially, the server logs the full HTTP response in the rule execution log (lastDump field), which is accessible via the API. Which turns a “Blind” SSRF into a “Full Read” SSRF.

Details

Configuration: An attacker creates a webhook rule targeting an internal service, e.g., http://127.0.0.1:5000 or a metadata service http://169.254.169.254.
Trigger: The attacker triggers the rule (e.g., by updating schema content).
Execution: The backend server sends a request to the internal target.
Exfiltration: The attacker retrieves the rule event logs via the API. The logs contain the internal service’s response (headers and body), disclosing sensitive internal information.

PoC

  1. Malicious Rule Creation
    Submit a POST request to create a rule targeting the server’s own loopback interface:
POST /api/content/{app-name}/{test-schema} HTTP/1.1
Content-Type: application/json
Authorization: Bearer <ACCESS_TOKEN>

{
    "data": {
        "sampleField": { "iv": "trigger-ssrf" }
    },
    "publish": true
}

  1. Triggering the Rule
    To fire the webhook, satisfy the trigger condition (Either by manual trigger or by ContentChanged for example or any other trigger), for example, by creating a dummy content item:
POST /api/content/{app-name}/{test-schema} HTTP/1.1
Content-Type: application/json
Authorization: Bearer <ACCESS_TOKEN>

{
    "data": {
        "sampleField": { "iv": "trigger-ssrf" }
    },
    "publish": true
}
  1. Observing the SSRF
    After the rule executes, query the event logs to view the SSRF response:
GET /api/apps/{app-name}/rules/events HTTP/1.1
Authorization: Bearer <ACCESS_TOKEN>

Response (Example):
The lastDump field in the response will contain the HTML key/data returned by the service running on 127.0.0.1:5000, confirming that the backend server successfully connected to itself.

Impact

This vulnerability enables authenticated attackers to breach network segmentation and force the server to interact with restricted internal services bound to localhost (such as Redis or Memcached) or the private network. This critically heightens the risk of data exfiltration or remote code execution, particularly in cloud environments where instance metadata services (IMDS) can be queried to compromise IAM credentials, all while leaking sensitive internal configuration details via the rule execution logs.

Precedent & Related / Similar CVEs for your reference

The industry standard is to treat SSRF in webhook configurations as a significant vulnerability, even when it requires authenticated permissions. It allows application-level users to breach network-level segmentation. Similar vulnerabilities in other CMS and platforms have been assigned high-severity CVEs:

CVE-2024-52588 (Strapi CMS): Authenticated SSRF in Strapi webhooks allowing attackers to scan internal ports via localhost URLs.
CVE-2024-13879 (WordPress Stream Plugin): Authenticated Admin SSRF in webhook functionality allowing requests to internal locations.
CVE-2024-5526 (Grafana OnCall): Authenticated SSRF in webhook logic.

Remediation Recommendations

Input Validation:

  1. Validate the url parameter in webhook actions.
    Deny-list private IP ranges (127.0.0.0/8, 10.0.0.0/8, etc.) and localhost.
    Perform DNS resolution on the backend and verify the resolved IP is not internal before making the request.
    Safe HTTP Client Configuration:

  2. Configure the HTTP client used for webhooks to disable redirects or strictly validate redirect targets to prevent bypasses.

Note: I have already communicated this with the team, through the platform, find the post here "https://support.squidex.io/t/ssrf-in-authenticated-user/6084", and communicated with "Sebastian" in private messages, from an account with my email "ahmed.goma1010@gmail.com" this is me, the same person, just for clarification

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
High
User interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

CVE ID

CVE-2026-24736

Weaknesses

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. Learn more on MITRE.

Credits