Skip to main content
EPSS 0.2%top 87%

CVE-2026-51153: n/a

0
Medium
VulnerabilityCVE-2026-51153cvecve-2026-51153
Published: 08/31/2026 (08/31/2026, 00:00:00 UTC)
Source: CVE Database V5

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 14:45:10 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses