All vulnerabilities

Servers and applications

CVE-2026-52781

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

Severity
Medium 6.4
Published
8 Jun 2026
Last changed
8 Jun 2026
Added to UpHeron
3 Nov 2026
Fixed in
17.3.3
Exploit chance
0.3% in the next 30 daysHigher than 16% of CVEs. EPSS by FIRST, 19 Nov 2026
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Also known as
GHSA-q33w-f822-hg8x
Sources
Project advisories (GitHub)

Description

The HTML sanitizer grants 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.

From opf/openproject's security advisory.

Affected software

SoftwareAffected versions
OpenProjectServers and applications · github:opf/openproject
  • Every version before 17.3.3

About OpenProject

web-based project management system

From Wikidata, CC0 1.0.
Total downloads
30M+OpenProject
Docker Hub pulls
6,225,306Docker Hub, 15 Nov 2026
GitHub stars
17,385GitHub, 15 Nov 2026
Forks
3,765GitHub, 15 Nov 2026
Latest release
v17.9.7GitHub, 15 Nov 2026
Released
9 Nov 2026GitHub
License
GNU General Public License, version 3.0Wikidata
Written in
RubyWikidata
First published on GitHub
28 Nov 2012GitHub

References