CVE-2026-23625: OpenProject has stored XSS regression using attachments and script-src self
OpenProject is an open-source, web-based project management software. Versions 16.3.0 through 16.6.4 are affected by a stored cross-site scripting vulnerability in the Roadmap view. OpenProject’s roadmap view renders the “Related work packages” list for each version. When a version contains work packages from a different project (e.g., a subproject), the helper linktoworkpackage prepends package.project.tos to the link and returns the entire string with .htmlsafe. Because project names are user-controlled and no escaping happens before calling htmlsafe, any HTML placed in a subproject name is injected verbatim into the page. The underlying issue is mitigated in versions 16.6.5 and 17.0.0 by setting a X-Content-Type-Options: nosniff header, which was in place until a refactoring move to Rails standard content-security policy, which did not properly apply this header in the new configuration since OpenProject 16.3.0. Those who cannot upgrade their installations should ensure that they add a X-Content-Type-Options: nosniff header in their proxying web application server.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23625?
CVE-2026-23625 is classified as a stored cross-site scripting (XSS) vulnerability.
How do I fix CVE-2026-23625?
To fix CVE-2026-23625, upgrade OpenProject to version 16.6.5 or later.
Which versions of OpenProject are affected by CVE-2026-23625?
OpenProject versions 16.3.0 through 16.6.4 are affected by CVE-2026-23625.
What type of vulnerability is CVE-2026-23625?
CVE-2026-23625 is a stored cross-site scripting (XSS) vulnerability.
Can CVE-2026-23625 be exploited through user input?
Yes, CVE-2026-23625 can be exploited via malicious input through attachments in the Roadmap view.