CVE-2026-52781
JSON

6.4medium

OpenProject: Stored XSS on openproject.example.com through /api/v3/projects/{project}/work_packages via POST parameter "description"

Severity
6.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

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.

Affected

Product or packageVersionsReported by
opf openproject< 17.3.3, >= 17.4.0, < 17.4.1CVE List

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

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.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-52781 changed 2026-06-29CVE Terms of Use
NVDCVE-2026-52781 changed 2026-10-25Public domain