Skip to content
Threat Feed
high advisory

Stored Cross-Site Scripting in SpiderFoot via Correlation Titles

SpiderFoot versions 4.0 and earlier are vulnerable to stored cross-site scripting (XSS) due to improper HTML sanitization in correlation titles, allowing attackers to execute arbitrary JavaScript in an operator's browser.

CVE search metadata

CVE search record: CVE-2026-75626. Severity: critical. CVSS: 9.3. KEV: no. Product: spiderfoot. Brief: Stored Cross-Site Scripting in SpiderFoot via Correlation Titles. Brief link: https://feed.craftedsignal.io/briefs/2026-08-spiderfoot-xss/

SpiderFoot (versions 4.0 and earlier) contains a stored cross-site scripting (XSS) vulnerability (CVE-2026-75626) stemming from a failure to properly HTML-escape correlation titles. These titles are dynamically generated using data gathered from external scan sources, such as server banners and metadata. An attacker who can influence these external data sources - for example, by hosting a service that returns a malicious banner - can cause SpiderFoot to generate a correlation result containing injected HTML elements and JavaScript event handlers. When an operator accesses the correlations view in the SpiderFoot web interface, the malicious script executes in the context of the operator's session. This vulnerability poses a significant risk, as successful execution could allow for the exfiltration of sensitive information, including API keys stored within the application.

Attack Chain

  1. Attacker identifies a target organization using SpiderFoot for reconnaissance.
  2. Attacker deploys a server or infrastructure controlled by them to be scanned by the target's SpiderFoot instance.
  3. Attacker crafts a malicious server banner or metadata field containing an HTML payload (e.g., <img src=x onerror=alert(1)>).
  4. The target's SpiderFoot instance scans the attacker's infrastructure and ingests the malicious banner into its database.
  5. SpiderFoot processes this data and creates a correlation entry, incorporating the unescaped malicious payload into the correlation title.
  6. The target's operator accesses the "Correlations" view in the SpiderFoot dashboard.
  7. The browser renders the malicious title, triggering the stored XSS payload in the operator's session context.
  8. Attacker achieves execution of arbitrary JavaScript to steal session tokens or API keys.

Impact

Successful exploitation of this vulnerability allows an attacker to compromise the operator's session. Potential impacts include the theft of application-specific API keys, unauthorized access to the SpiderFoot instance, and the potential for pivoting into the operator's local environment through further browser-based attacks.

Recommendation

Prioritized actions for security teams:

  • Update SpiderFoot to the latest available version that includes a patch for CVE-2026-75626.
  • Implement strict egress filtering to limit the external infrastructure the SpiderFoot instance can reach, reducing exposure to malicious scan targets.
  • Monitor web application logs for unexpected requests to the correlations view or unusual JavaScript execution patterns.
  • Review documentation for CVE-2026-75626 to identify specific mitigation steps provided by the maintainers.

Immediate actions

Upgrade SpiderFoot instances to versions containing the fix for CVE-2026-75626

IT Operations 48h

Mitigations

Restrict SpiderFoot scan targets to trusted or internal infrastructure to prevent interaction with malicious banners

immediate SOC

CVE-2026-75626