Description
The html_to_markdown expansion module in MISP Modules contains a server-side request forgery (SSRF) vulnerability in its is_safe_url() URL validation function. The BLOCKED_RANGES list used to reject unsafe destination addresses was incomplete, omitting several critical IP address ranges. Specifically, the following ranges were not blocked: 0.0.0.0/8 (unspecified, which routes to loopback on Linux), 100.64.0.0/10 (carrier-grade NAT per RFC 6598), ::/128 (IPv6 unspecified), fc00::/7 (IPv6 Unique Local Addresses), and fe80::/10 (IPv6 link-local). The existing list only covered IPv4 loopback (127.0.0.0/8), RFC 1918 private ranges, IPv4 link-local (169.254.0.0/16), and IPv6 loopback (::1/128).

An authenticated user with the ability to create or modify MISP attributes that trigger the html_to_markdown expansion module could supply URLs pointing to these unblocked internal address ranges. Because the module fetches the URL server-side to convert HTML content to Markdown, the request is made from the MISP server's network context. This allows an attacker to probe and read responses from internal services, carrier-grade NAT infrastructure, or link-local endpoints that would otherwise be unreachable from external networks. IPv4-mapped IPv6 forms (e.g., [::ffff:0.0.0.0]) also bypassed the existing checks.

The security impact is primarily confidentiality: an attacker can read data served by internal services reachable from the MISP server. The MISP instance itself is not compromised, but it is abused as a proxy to access otherwise restricted network resources.
Published: 2026-10-19
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Server‑Side Request Forgery
Action: Immediate Patch
AI Analysis

Impact

The vulnerability resides in the html_to_markdown expansion module of MISP Modules. The module validates URLs through an is_safe_url() function that rejects unsafe destination addresses using a BLOCKED_RANGES list. The list is incomplete, missing critical ranges such as 0.0.0.0/8, 100.64.0.0/10, ::/128, fc00::/7, and fe80::/10. This shortcoming, coupled with the normalisation of IPv4‑mapped IPv6 addresses, allows a server‑side request forgery. An adversary who can create or edit attributes on a MISP instance can supply a URL that resolves to one of these unblocked internal ranges. When the module fetches that URL to convert HTML to Markdown, the request originates from the MISP server, giving the attacker read access to internal services that are otherwise inaccessible from external networks. The primary consequence is confidentiality leakage; the MISP instance itself remains uncompromised but is forced to act as a proxy for internal resources.

Affected Systems

The issue affects the MISP Modules repository, specifically the html_to_markdown expansion module. Any installation of MISP that includes this module with the unpatched BLOCKED_RANGES implementation is vulnerable. The vendor lists the affected product as MISP Modules. No specific version range is identified; therefore all code deployments containing the described validation logic are at risk.

Risk and Exploitability

The CVSS base score of 6.3 indicates a moderate severity. No EPSS data is available, and the vulnerability is not in the CISA KEV catalog. The attack requires an authenticated user with permission to create or modify MISP attributes; thus, privilege escalation is a prerequisite. Once exploited, the attacker can retrieve confidential data from internal services via the server‑side request. The risk is therefore principally the exposure of sensitive internal information, with secondary reputational impact.

Generated by OpenCVE AI on October 20, 2026 at 06:52 UTC.

Remediation

Vendor Solution

The fix extends the BLOCKED_RANGES list in is_safe_url() to include the previously missing IP address ranges: 0.0.0.0/8, 100.64.0.0/10, ::/128, fc00::/7, and fe80::/10. The existing IPv4-mapped IPv6 normalisation logic ensures that mapped forms (e.g., ::ffff:0.0.0.0) are also blocked. Regression tests are added covering both literal IP addresses in URLs and hostnames that resolve to the newly blocked ranges.


OpenCVE Recommended Actions

  • Apply the latest patch to MISP Modules that updates the BLOCKED_RANGES list to include 0.0.0.0/8, 100.64.0.0/10, ::/128, fc00::/7, and fe80::/10 and adds regression tests for both IP addresses and resolving hostnames
  • Restrict attribute creation and modification privileges to trusted administrators or remove the html_to_markdown expansion module if it is not required for operational purposes
  • Configure outbound firewall rules or proxy to restrict the MISP server to only approved destinations, preventing accidental SSRF access to internal services

Generated by OpenCVE AI on October 20, 2026 at 06:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 22 Oct 2026 04:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
First Time appeared Misp misp-modules
Vendors & Products Misp misp-modules

Mon, 19 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Description The html_to_markdown expansion module in MISP Modules contains a server-side request forgery (SSRF) vulnerability in its is_safe_url() URL validation function. The BLOCKED_RANGES list used to reject unsafe destination addresses was incomplete, omitting several critical IP address ranges. Specifically, the following ranges were not blocked: 0.0.0.0/8 (unspecified, which routes to loopback on Linux), 100.64.0.0/10 (carrier-grade NAT per RFC 6598), ::/128 (IPv6 unspecified), fc00::/7 (IPv6 Unique Local Addresses), and fe80::/10 (IPv6 link-local). The existing list only covered IPv4 loopback (127.0.0.0/8), RFC 1918 private ranges, IPv4 link-local (169.254.0.0/16), and IPv6 loopback (::1/128). An authenticated user with the ability to create or modify MISP attributes that trigger the html_to_markdown expansion module could supply URLs pointing to these unblocked internal address ranges. Because the module fetches the URL server-side to convert HTML content to Markdown, the request is made from the MISP server's network context. This allows an attacker to probe and read responses from internal services, carrier-grade NAT infrastructure, or link-local endpoints that would otherwise be unreachable from external networks. IPv4-mapped IPv6 forms (e.g., [::ffff:0.0.0.0]) also bypassed the existing checks. The security impact is primarily confidentiality: an attacker can read data served by internal services reachable from the MISP server. The MISP instance itself is not compromised, but it is abused as a proxy to access otherwise restricted network resources.
Title MISP html_to_markdown Module SSRF via Incomplete IP Range Blocking in is_safe_url()
First Time appeared Misp
Misp misp Modules \(html To Markdown Expansion Module\)
Weaknesses CWE-20
CWE-918
CPEs cpe:2.3:a:misp:misp_modules_\(html_to_markdown_expansion_module\):*:*:*:*:*:*:*:*
Vendors & Products Misp
Misp misp Modules \(html To Markdown Expansion Module\)
References
Metrics cvssV4_0

{'score': 6.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N'}


Subscriptions

Misp Misp-modules Misp Modules \(html To Markdown Expansion Module\)
cve-icon MITRE

Status: PUBLISHED

Assigner: CIRCL

Published:

Updated: 2026-10-20T19:22:15.189Z

Reserved: 2026-10-19T22:19:44.187Z

Link: CVE-2026-112991

cve-icon Vulnrichment

Updated: 2026-10-20T19:22:10.590Z

cve-icon NVD

Status : Deferred

Published: 2026-10-19T23:17:36.350

Modified: 2026-10-20T20:17:16.700

Link: CVE-2026-112991

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T07:00:13Z

Weaknesses
  • CWE-20

    Improper Input Validation

  • CWE-918

    Server-Side Request Forgery (SSRF)