CVE-2026-51153: n/a
Description
Stored Cross-Site Scripting (XSS) in TaskRunHandler.post() in web/handlers/task.py in QD 20220208 through 20250803. When a task is run via /task/<taskid>/run, the handler renders task log content (logtmp) into the HTML response using Python % string formatting without HTML encoding. logtmp is populated from the exception object or from new_env.variables.__log__, which is attacker-controlled via the template extract_variables mechanism. A low-privileged authenticated attacker can create a crafted HAR template that extracts arbitrary HTML/JavaScript into the __log__ variable via the api://util/unicode endpoint. When a victim triggers the task run, the embedded script executes in the victim browser within the QD application context.
CVSS v3.1
Score 5.4medium
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in the QD application's TaskRunHandler.post() method, where task log content (logtmp) is inserted into HTML responses using Python % string formatting without HTML encoding. The log content can be influenced by an attacker via the template extract_variables mechanism, specifically through the api://util/unicode endpoint, allowing injection of arbitrary HTML or JavaScript. This results in stored cross-site scripting that executes in the context of the victim's browser when they trigger the affected task run endpoint. The vulnerability affects versions from 20220208 through 20250803. The CVSS 3.1 base score is 5.4, indicating medium severity, with network attack vector, low attack complexity, low privileges required, and user interaction needed.
Potential Impact
Successful exploitation allows a low-privileged authenticated attacker to inject and execute arbitrary JavaScript in the context of other users' browsers within the QD application. This can lead to information disclosure and integrity impacts by executing malicious scripts, but does not affect availability. The vulnerability requires user interaction (the victim triggering the task run) and privileges to authenticate, limiting the attack scope.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the task run functionality to trusted users only and consider implementing input validation or output encoding as a temporary mitigation. Monitor vendor communications for patches or official fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-06-07T00:00:00.000Z
- State
- PUBLISHED
Threat ID: 6a95a04dacd9273b494626ed
Added to database: 08/31/2026, 15:39:57 UTC
Last enriched: 09/07/2026, 14:45:10 UTC
Last updated: 10/13/2026, 18:48:21 UTC
Views: 24
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.