All vulnerabilities

Servers and applications

CVE-2026-32703

Repository files are served with the MIME type allowing them to be used to bypass Content Security Policy

Severity
Medium 5.4
Published
16 Mar 2026
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
16.6.9, 17.0.6, 17.1.3
Exploit chance
0.2% in the next 30 daysHigher than 12% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Also known as
GHSA-p423-72h4-fjvp
Sources
NVD, Project advisories (GitHub)

Description

When using the Repositories module in a project, it was possible to access the raw files via the browser with a URL like /projects/{project}/repository/revisions/{commit_id}/raw/{file}.js.raw. For those files, the MIME type was detected via the filename extension. For JavaScript and CSS files those files were then served from the same domain name as the application with the correct MIME type for active content and could be used to bypass the Content Security Policy. Together with other areas, where unsanitized HTML was served, this allowed persistent XSS attacks.

The MIME type detection for Repository files has been removed and files are served as application/octet-stream which will block their execution via the Content Security Policy.

Two places that could be used to abuse this vulnerability have been fixed:

The Repositories module did not properly escape filenames displayed from repositories. This allowed an attacker with push access into the repository to create commits with…

From opf/openproject's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
OpenProjectServers and applications · cpe:a:openproject:openproject
  • Every version before 16.6.9
  • From 17.0.0 before 17.0.6
  • From 17.1.0 before 17.1.3
  • Version 17.2.0
OpenProjectServers and applications · github:opf/openproject
  • Every version before 16.6.9

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

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-32703
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-32703
  • GitHub Advisory Database https://github.com/advisories/GHSA-p423-72h4-fjvp
  • github.com https://github.com/opf/openproject/security/advisories/GHSA-p423-72h4-fjvp