CVE-2026-66824 Details
Description
A stored cross-site scripting vulnerability existed in the capture tree visualization page. The application embedded the serialized capture tree directly into an inline JavaScript block using the Jinja safe filter. Because the tree data can contain values derived from captured and potentially attacker-controlled web content, a specially crafted value could prematurely terminate the surrounding <script> element and inject arbitrary HTML or JavaScript. The malicious code would execute in the browser of a user viewing the affected capture tree. Successful exploitation could allow an attacker to perform actions using the victim’s authenticated session, access information available to the victim, or modify application data within the permissions of the affected user. The patch removes the JSON data from the HTML document and retrieves it through a dedicated API endpoint. The client then processes the response using response.json(), preventing capture data from being interpreted as executable content within the original page’s HTML or JavaScript context.
A stored cross-site scripting vulnerability has been identified in Lookyloo, specifically within the capture tree visualization page. The issue arises because the application directly embeds serialized capture tree data into an inline JavaScript block using the Jinja safe filter. This data can include values from captured web content, potentially controlled by attackers. By crafting a specific value, an attacker could terminate the surrounding <script> element and inject arbitrary HTML or JavaScript. The injected code would execute in the context of the user's browser, who is viewing the affected capture tree. Exploitation could allow the attacker to perform actions on behalf of the victim, access their information, or modify application data within the user's permissions.
The vulnerability has been patched by removing the JSON data from the HTML document and retrieving it through a dedicated API endpoint. The client processes the response using response.json(), which prevents the capture data from being executed as content within the page's HTML or JavaScript context.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 27, 2026CISA-ADP
Assessed Jul 28, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Lookyloo/lookyloo/commit/395187b57322ab311363ccc290c010b180389009 | CIRCL | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CIRCL |
Affected Products
| Product | Versions |
|---|---|
| Lookyloo lookyloo | All versions |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 28, 2026 | CVE Modified | CISA-ADP |
| Jul 27, 2026 | New CVE Received | CIRCL |
Volerion