{"id":"CVE-2026-23625","state":"PUBLISHED","title":"OpenProject has stored XSS regression using attachments and script-src self","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.","publishedAt":"2026-01-19T17:41:41.803Z","updatedAt":"2026-01-20T15:10:58.947Z","severity":{"score":8.7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["opf openproject"],"affected":[{"vendor":"opf","product":"openproject","versions":[{"version":">= 16.3.0, < 16.6.5","status":"affected"}]}],"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"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/23xxx/CVE-2026-23625.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-23625","state":"PUBLISHED","datePublished":"2026-01-19T17:41:41.803Z","dateUpdated":"2026-01-20T15:10:58.947Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-14T16:08:37.482Z"},"containers":{"cna":{"title":"OpenProject has stored XSS regression using attachments and script-src self","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"opf","product":"openproject","versions":[{"version":">= 16.3.0, < 16.6.5","status":"affected"}]}],"references":[{"url":"https://github.com/opf/openproject/security/advisories/GHSA-cvpq-cc56-gwxx","name":"https://github.com/opf/openproject/security/advisories/GHSA-cvpq-cc56-gwxx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/opf/openproject/releases/tag/v16.6.5","name":"https://github.com/opf/openproject/releases/tag/v16.6.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/opf/openproject/releases/tag/v17.0.0","name":"https://github.com/opf/openproject/releases/tag/v17.0.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-19T17:41:41.803Z"},"source":{"advisory":"GHSA-cvpq-cc56-gwxx","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-20T15:10:48.607771Z","id":"CVE-2026-23625","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-20T15:10:58.947Z"}}]}}}