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

- Severity: Medium 6.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2026-06-26T19:00:10.717Z
- Modified: 2026-10-25T17:10:00.197Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- opf openproject: < 17.3.3; >= 17.4.0, < 17.4.1

## References

- <https://github.com/opf/openproject/security/advisories/GHSA-q33w-f822-hg8x>

## Sources

- CVE List: [CVE-2026-52781](https://www.cve.org/CVERecord?id=CVE-2026-52781), CVE Terms of Use, modified 2026-06-29
- NVD: [CVE-2026-52781](https://nvd.nist.gov/vuln/detail/CVE-2026-52781), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-52781 · Whole record: https://cve.day/CVE-2026-52781.json · Rebuilt by cve.day 2026-11-25T22:59:26.519Z
