CVE-2026-8661: Server-Side Request Forgery in Rapid7 InsightConnect Markdown Plugin
A flaw in Rapid7 InsightConnect's Markdown Plugin allows attackers to trick the system into making unwanted outbound web requests when processing user-supplied Markdown content. The vulnerability exists in the markdown_to_pdf action and stems from incomplete sanitization of HTML elements like images and stylesheets that can load external resources. An attacker can embed specially crafted Markdown with image tags or CSS imports pointing to internal or external targets, causing the affected server to fetch those resources on the attacker's behalf. Versions prior to 4.0.2 are vulnerable; an initial patch in 4.0.0 addressed JavaScript execution but overlooked resource-loading vectors.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 4.8 MEDIUM · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses (CWE)
- CWE-79, CWE-918
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-26 / 2026-07-24
NVD description (verbatim)
Server-Side Request Forgery in the markdown_to_pdf action of Rapid7 InsightConnect Markdown Plugin on Linux in versions prior to 4.0.2 allows remote attackers to make arbitrary outbound HTTP requests via unsanitized resource-loading HTML elements (img/src, CSS url(), @import) embedded in Markdown input. The initial fix in 4.0.0 disabled JavaScript but did not neutralize resource-loading vectors. Resolved in 4.0.2 by sanitizing HTML with an allowlist of tags, attributes, and URL schemes.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-8661 is a Server-Side Request Forgery (SSRF) vulnerability in the markdown_to_pdf action of the Rapid7 InsightConnect Markdown Plugin on Linux. The vulnerability arises from insufficient input validation when converting Markdown to PDF. Attackers can inject HTML elements—specifically img src attributes, CSS url() functions, and @import directives—within Markdown input to trigger outbound HTTP requests from the server. The initial mitigation in version 4.0.0 disabled JavaScript execution but failed to neutralize resource-loading mechanisms that operate outside JavaScript context. The definitive fix in version 4.0.2 implements allowlist-based HTML sanitization, explicitly permitting safe tags and attributes while rejecting or neutralizing URL schemes in resource-loading contexts.
Business impact
This vulnerability enables attackers to perform reconnaissance on internal network topology, scan for open ports and services on internal infrastructure, or exfiltrate metadata from internal systems reachable from the InsightConnect instance. An attacker could also use the server as a pivot point to launch attacks against third-party systems, potentially triggering security alerts or rate-limiting that obscure the true attack origin. In environments where InsightConnect processes untrusted Markdown—such as user-submitted content, third-party integrations, or data from external APIs—the risk materializes readily. The impact is amplified if the InsightConnect instance has network access to sensitive internal systems or cloud service endpoints.
Affected systems
Rapid7 InsightConnect Markdown Plugin versions prior to 4.0.2 running on Linux are affected. The vulnerability is specific to the markdown_to_pdf action. Version 4.0.0 introduced an incomplete fix that mitigated JavaScript execution but left resource-loading vectors open. Patched versions (4.0.2 and later) eliminate the flaw through HTML allowlisting. Organizations must verify their exact plugin version and update accordingly.
Exploitability
Exploitation requires network access to an InsightConnect instance and the ability to submit Markdown input to the markdown_to_pdf action. The attack complexity is rated as high, reflecting the need for specific conditions—such as the plugin being exposed to untrusted input or an attacker having legitimate access to submit workflows. No user interaction is required once a malicious Markdown payload is processed. No publicly disclosed exploit code or active exploitation is known at this time; the vulnerability is not currently tracked in the CISA KEV catalog.
Remediation
Organizations should upgrade the Rapid7 InsightConnect Markdown Plugin to version 4.0.2 or later. This version implements comprehensive HTML sanitization via an allowlist approach, neutralizing resource-loading vectors. Before upgrading, audit workflows and integrations to identify where Markdown input originates. If the plugin processes untrusted data, apply additional input validation or network segmentation to limit the server's outbound access to only necessary destinations.
Patch guidance
Update the Rapid7 InsightConnect Markdown Plugin to version 4.0.2 or later. Verify the patch by checking the plugin version in your InsightConnect instance (typically accessible via the admin console or plugin details). Do not rely on version 4.0.0 alone; ensure the 4.0.2 release is deployed. After patching, restart affected workflows and conduct a brief functional test of markdown_to_pdf conversions to confirm no regression. Consider staging the patch in a non-production environment first if InsightConnect is business-critical.
Detection guidance
Monitor HTTP access logs on the InsightConnect server for unexpected outbound requests coinciding with markdown_to_pdf action execution. Look for requests to internal IP ranges, cloud metadata endpoints (169.254.169.254, etc.), or suspicious external domains initiated from the InsightConnect process. Inspect markdown_to_pdf action logs for errors or unusual processing times that might indicate resource-loading attempts. Network-level detection can flag outbound connections from InsightConnect to atypical destinations. Additionally, review workflow definitions for Markdown input sources and trace whether those sources are adequately controlled.
Why prioritize this
Although the CVSS score of 4.8 (MEDIUM) reflects limited direct impact—no confidentiality loss to the victim, only to the attacker's reconnaissance—the vulnerability is notable because SSRF flaws often serve as springboards for lateral movement and reconnaissance in defense-in-depth strategies. InsightConnect's role as an orchestration and automation platform means it often has broad network access. The two-year gap between the initial incomplete fix (4.0.0) and the full resolution (4.0.2) underscores the complexity of sanitization. Prioritize patching if InsightConnect processes untrusted Markdown or operates in segmented networks where it bridges trust boundaries.
Risk score, explained
The CVSS 3.1 score of 4.8 (MEDIUM) is driven by low confidentiality and integrity impact (the attacker gains indirect visibility into internal resources and can potentially interfere with internal services) balanced against high attack complexity (specific conditions must align) and no authentication requirement. The score does not account for the downstream risk of SSRF as a reconnaissance or lateral-movement vector, which depends on network architecture. In environments with strong network segmentation or no sensitive internal resources accessible from InsightConnect, the practical risk is lower. In flat networks or cloud environments where the platform has broad egress permissions, risk escalates.
Frequently asked questions
Can an attacker execute arbitrary code on the InsightConnect server via this vulnerability?
No. CVE-2026-8661 is limited to Server-Side Request Forgery. The attacker can only force the server to make outbound HTTP requests; they cannot execute code or modify files directly. However, if the attacker discovers an unpatched service on the internal network via SSRF and chains this vulnerability with another RCE flaw, the risk compounds.
If we use InsightConnect in an isolated network with no outbound internet access, are we protected?
Your exposure is reduced but not eliminated. If your InsightConnect instance can access internal services (databases, APIs, monitoring tools), an attacker can still probe those services via SSRF. Ensure you update to 4.0.2 regardless of network isolation, and apply least-privilege network policies so InsightConnect reaches only necessary systems.
Is the vulnerability only exploitable if we process untrusted Markdown input?
Yes, in practice. If your workflows only process Markdown that you control or trust, the attack surface is minimal. However, if InsightConnect integrates with third-party platforms, ingests user submissions, or pulls Markdown from external sources, the vulnerability is readily exploitable. Review your data sources and apply input validation even after patching.
Does version 4.0.0 protect us from this vulnerability?
No. Version 4.0.0 addressed JavaScript execution but did not sanitize HTML resource-loading elements (img src, CSS url, @import). You must upgrade to 4.0.2 or later for complete protection.
This analysis is provided for informational purposes and reflects the vulnerability description and patch guidance as of the publication date. Security teams must verify all version numbers, patch applicability, and remediation steps against official Rapid7 advisories and their own environment configuration. Network segmentation, access controls, and data-source governance are complementary mitigations that should not be deferred in favor of patching alone. SEC.co makes no warranty regarding the completeness or timeliness of this information and recommends consultation with Rapid7 support or your organization's security team for deployment-specific guidance. Source: NVD (public-domain), retrieved 2026-08-04. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-43979MEDIUMHTML Injection & SSRF in Local Deep Research PDF Export
- CVE-2026-45501MEDIUMServer-Side Request Forgery in Microsoft Exchange Server – SSRF Risk & Patch Guidance
- CVE-2016-20070MEDIUMPrivilege Escalation & Stored XSS in WordPress Booking Calendar Contact Form 1.0.23
- CVE-2018-25384MEDIUMStored XSS in Wikidforum 2.20 Allows Authenticated Attackers to Inject Malicious Scripts
- CVE-2019-25731MEDIUMStored XSS in Zuz Music 2.1 Contact Form
- CVE-2019-25737MEDIUMStored XSS in Live Chat Unlimited 2.8.3 – Admin Session Compromise
- CVE-2019-25739MEDIUMGigToDo 1.3 Stored XSS Vulnerability in Proposal Descriptions
- CVE-2019-25742MEDIUMStored XSS in Zoner Real Estate WordPress Theme 4.1.1 – Admin Account Compromise Risk