{"id":"CVE-2026-51153","published":"2026-08-31T00:00:00Z","modified":"2026-09-01T15:21:09Z","title":"Stored Cross-Site Scripting (XSS) in TaskRunHandler.post() in web/handlers/task.py in QD 20220208 through 20250803","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00235,"percentile":0.14692,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://qd-today.github.io/qd/","tags":[]},{"url":"https://gist.github.com/kurokoleung/9fc51b02c85c2f466bf4ea72c62ba343","tags":[]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":2.94},{"name":"CVSS severity","points":3.78}]},"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-01T15:20:18.325659Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-68639","exploited":false,"provenance":"source"}}