{"id":"CVE-2026-52781","aliases":["CVE-2026-52781"],"related":[],"kind":"vulnerability","state":"published","title":"OpenProject: Stored XSS on openproject.example.com through /api/v3/projects/{project}/work_packages via POST parameter \"description\"","summary":"OpenProject is open-source, web-based project management software. Prior to 17.3.3 and 17.4.1, the HTML sanitizer grants <macro> elements unrestricted data-* attributes via :data wildcard. An attacker injects data-controller=\"poll-for-changes\" into a work package description, causing Stimulus.js to mount a controller that fetches an attacker-uploaded attachment and passes it to renderStreamMessage(). This executes arbitrary Turbo Stream actions — including redirect_to — in every victim's authenticated browser session, redirecting them to an attacker-controlled server. This vulnerability is fixed in 17.3.3 and 17.4.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"OpenProject is open-source, web-based project management software. Prior to 17.3.3 and 17.4.1, the HTML sanitizer grants <macro> elements unrestricted data-* attributes via :data wildcard. An attacker injects data-controller=\"poll-for-changes\" into a work package description, causing Stimulus.js to mount a controller that fetches an attacker-uploaded attachment and passes it to renderStreamMessage(). This executes arbitrary Turbo Stream actions — including redirect_to — in every victim's authenticated browser session, redirecting them to an attacker-controlled server. This vulnerability is fixed in 17.3.3 and 17.4.1.","source":"cvelist"},{"lang":"es","text":"OpenProject es un software de gestión de proyectos de código abierto y basado en la web. Antes de las versiones 17.3.3 y 17.4.1, el saneador de HTML concede a los elementos [macro] atributos data-* sin restricciones a través del comodín :data. Un atacante inyecta data-controller=’poll-for-changes’ en la descripción de un paquete de trabajo, lo que provoca que Stimulus.js monte un controlador que recupera un archivo adjunto subido por el atacante y lo pasa a renderStreamMessage(). Esto ejecuta acciones arbitrarias de Turbo Stream -incluyendo redirect_to- en la sesión de navegador autenticada de cada víctima, redirigiéndolas a un servidor controlado por el atacante. Esta vulnerabilidad se corrige en las versiones 17.3.3 y 17.4.1.","source":"nvd"}],"published":"2026-06-26T19:00:10.717Z","modified":"2026-10-25T17:10:00.197Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","score":6.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 17.3.3","status":"affected"},{"version":">= 17.4.0, < 17.4.1","status":"affected"}],"vendor":"opf","product":"openproject","source":"cvelist"}],"references":[{"url":"https://github.com/opf/openproject/security/advisories/GHSA-q33w-f822-hg8x","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-29T13:24:36.959Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-52781","url":"https://www.cve.org/CVERecord?id=CVE-2026-52781","licence":"CVE Terms of Use","modified":"2026-06-29T13:24:43.334Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-52781","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-52781","licence":"Public domain","modified":"2026-10-25T17:10:00.197Z"}],"updatedAt":"2026-11-25T22:59:26.519Z","epss":{"score":0.0015,"percentile":0.04407,"date":"2026-12-01T12:00:22.000Z"}}