Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker hosts malicious JSON+script server
-
DeliveryAnalyst captures attacker URL in Lookyloo
-
ExploitUnsafe f-string Markup renders payload
-
ExecutionScript executes in analyst browser
-
ImpactSession/data theft in analyst context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a Lookyloo instance capture and render content from an attacker-controlled third-party server which responds with a JSON document containing JavaScript inside a script element; the flaw is in server-side rendering where untrusted values (resource tooltips/previews, pushed-capture and MISP flash messages) were interpolated via unsafe f-strings into flask Markup instead of being escaped. Limiting factors: the attacker cannot target the app directly and must induce an analyst to initiate a capture of the malicious site (UI:P passive interaction), and execution occurs in the analyst's browser rather than on the server (no VC/VI/VA impact on the Lookyloo host itself). Affects Lookyloo versions prior to 1.35.3 in default configuration. |
| Impact | This is a genuinely low-priority issue despite the CWE-79 label. The vendor CVSS 4.0 base score is 5.3 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - notably the vulnerable-system impacts are all None and only the *subsequent* system (the analyst's browser) sees low confidentiality/integrity impact, which is the correct modeling for reflected/stored XSS. EPSS is 0.04% (12th percentile), among the lowest possible, indicating no expectation of widespread exploitation. There is no CISA KEV listing and no public exploit code identified at time of analysis, so this is neither actively exploited nor weaponized. The most important limiting factor is the exploitation precondition: the payload only fires when Lookyloo captures/renders content from an attacker-controlled third-party server that returns a JSON document embedding JS in a script element - the attacker cannot hit the app directly but must lure an analyst into capturing a malicious site, and UI:P confirms passive victim interaction is required. Net: real bug, correctly patched, but low real-world urgency. The commit diff confirms the root cause (unsafe f-string interpolation into flask Markup) and the fix (parameterized Markup('...').format()), so the technical claim is well substantiated. |
| Exploit ScenarioDerived | An attacker stands up a malicious web server that returns a JSON document containing JavaScript inside a script element. A Lookyloo analyst captures that URL; when Lookyloo renders the resource icon/tooltip or flash messages built via unsafe f-string Markup, the attacker's script executes in the analyst's authenticated browser session. No public PoC or active exploitation is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 26, 2026
Lookyloo versions prior to 1.35.3 render cross-site scripting into the analyst's browser when a captured third-party page returns a JSON document containing JavaScript inside a script element, because untrusted values such as resource tooltips, preview URLs, pushed-capture links, and MISP flash messages were interpolated into Flask's Markup via unsafe f-strings rather than escaped. An attacker cannot reach the appliance directly; they must induce an analyst to launch a capture of the malicious site, and any resulting script runs in that analyst's browser, not on the Lookyloo host, so the server itself is not compromised. No public exploit code has been identified at time of analysis, EPSS is 0.04% (12th percentile), and the vendor has released patch version 1.35.3, making this a low-priority but genuinely valid CWE-79 issue rather than an urgent one.
Earlier versions of this analysis (1)
RemediationAI
Vendor-released patch: upgrade to Lookyloo 1.35.3, which contains the escaping fix in commit b6ee2fee0afff0b35f37dd891bbce9d53ed8a290; per the GitHub advisory GHSA-58h2-652v-gq87 (https://github.com/Lookyloo/lookyloo/security/advisories/GHSA-58h2-652v-gq87) and the NVD patch references, that release is the authoritative fix. Until upgrading is possible, the practical compensating controls are: restrict capture-triggering functionality to trusted analysts on any shared or multi-tenant instance so the required user interaction cannot be induced by an outsider (trade-off: reduces the collaborative workflow Lookyloo is built around), and add or tighten a Content-Security-Policy on the Lookyloo web UI that disallows inline script and limits script-src to same-origin assets, which blunts execution of injected script in the analyst's browser (trade-off: the injected markup can still alter the rendered page and, if the CSP is loosened for Bootstrap's HTML tooltip handling, the mitigation weakens). Avoid automatically capturing untrusted or attacker-supplied URLs from automated feeds without human review. Because exploitation requires an analyst to initiate the capture (UI:P), none of these workarounds are a substitute for applying 1.35.3; note that no public exploit code has been identified at time of analysis and EPSS is 0.04%, so this is a routine maintenance-priority fix rather than an emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation, i.e. cross-site scripting) arising from incorrect use of Flask/MarkupSafe's Markup class. Markup explicitly bypasses Jinja2's automatic HTML escaping by declaring a string as trusted safe HTML, so any value interpolated into it with an f-string is emitted verbatim. In Lookyloo's website/web/__init__.py, user- and capture-influenced data (resource tooltips and mimetypes, generated preview and resource URLs, the remote Lookyloo push-capture link, and MISP event links/URLs) were formatted straight into Markup objects, and the rendered tooltips are injected with Bootstrap's data-bs-html="true", which parses HTML in tooltip content. The exploit path is therefore indirect: the analyst captures a page whose third-party server responds with a JSON document embedding JavaScript in a script element; that content flows into the tree rendering and executes in the analyst's session. The upstream fix commit b6ee2fee0afff0b35f37dd891bbce9d53ed8a290 replaces the f-strings with parameterized Markup templates (Markup('...{}...').format(...)), relying on MarkupSafe's escaping of format arguments, plus explicit Markup annotation of the hash-icon renderer's return type, so the untrusted values are neutralized while retaining intentional HTML.
Know when Lookyloo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Network-delivered stored/reflected XSS needing an analyst to trigger a capture (UI:R); script runs in the browser (S:C) with low confidentiality/integrity and no availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
3DescriptionCVE.org
Lookyloo is a web interface that allows users to capture a website page and then display a tree of domains that call each other. Prior to 1.35.3, there are multiple XSS due to unsafe use of f-strings in Markup. The issue requires a malicious 3rd party server responding with a JSON document containing JS code in a script element. This vulnerability is fixed in 1.35.3.
Executive ViewAI
Organizations using Lookyloo should be aware of moderate risk from CVE-2025-66458, a cross-site scripting vulnerability rated CVSS 6.1. Attackers could inject scripts to steal sessions or perform actions as authenticated users. A patch is available and should be applied during regular vulnerability management.
Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in Lookyloo Cross-Site Scripting Vulnerabilities
View all 3Stored cross-site scripting in Lookyloo (versions up to and including 1.40.0) lets an attacker inject arbitrary HTML/Jav
Cross-user state leakage in Lookyloo's PlaywrightCapture Python library allows one capture operation to inherit sensitiv
Lookyloo releases before the fix commit can expose private capture artifacts-rendered screenshots, HAR files, downloaded
Lookyloo through 1.39.3 misassigns request parameters in the unauthenticated /json/<uuid>/report endpoint (CaptureReport
Server-side request forgery in PlaywrightCapture's favicon retrieval function allows a remote attacker to cause the Play
Memory exhaustion in Lookyloo 1.40.0 and earlier allows attackers to crash web or worker processes by submitting a craft
Unauthenticated server-side request forgery in Lookyloo allows remote attackers to make a Lookyloo instance issue HTTP r
PlaywrightCapture's only_global_lookup SSRF protection is bypassed during favicon retrieval, allowing an attacker who ca
EUVD-2025-200306
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB