Skip to content
OpenAdvisories
Medium · 6.4 CVE-2026-52781 EUVD-2026-39871

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

Published Jun 26, 2026 · Updated Jun 29, 2026 · 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 products

VendorProductAffectedFixed
opf openproject < 17.3.3, >= 17.4.0, < 17.4.1 —

References