Skip to main content

Lookyloo EUVDEUVD-2025-200306

| CVE-2025-66458 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-02 security-advisories@github.com
5.3
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker hosts malicious JSON+script server
  2. Delivery
    Analyst captures attacker URL in Lookyloo
  3. Exploit
    Unsafe f-string Markup renders payload
  4. Execution
    Script executes in analyst browser
  5. Impact
    Session/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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 Mar 15, 2026 - 14:04 CVSS 6.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

lookyloo < 1.35.3

Affected Packages

euvd lookyloo fix: 1.35.3

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

Vendor (github) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
None

Lifecycle Timeline

3
CVSS changed
Sep 25, 2026 - 23:22 NVD
6.1 (MEDIUM) 5.3 (MEDIUM)
Patch released
Mar 15, 2026 - 14:04 nvd
Patch available
CVE Published
Dec 02, 2025 - 19:15 nvd
MEDIUM 6.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: Low
Compensating Controls

Apply vendor patch. If patching is delayed: implement CSP headers, enable HttpOnly cookies, deploy WAF XSS rules.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Prevalence
Low
niche open-source CERT/SOC threat-intel capture tool, small deployment footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Low

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 3

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy