All vulnerabilities

Servers and applications

GHSA-m5p8-h274-f7w8

Content Security Policy img-src wildcard enables cross-origin pixel tracking and information leakage

Severity
Low
Published
10 Jun 2026
Last changed
10 Jun 2026
Added to UpHeron
3 Nov 2026
Fixed in
17.5
Weakness
Information exposure (CWE-200)
Sources
Project advisories (GitHub)

Description

The Content Security Policy sets img-src to the wildcard *, allowing the browser to load images from any external domain. This can be exploited to confirm whether a user is authenticated or to exfiltrate session-correlated data via tracking pixels embedded in user-generated content.

File: config/initializers/content_security_policy.rb, line 128

policy.img_src("*", "data:", "blob:")

The wildcard * in img-src permits loading images from any origin. The application already builds a whitelist of trusted remote storage hosts (lines 52-53):

default_src += OpenProject::Configuration.remote_storage_hosts

This same list, combined with 'self', data:, and blob:, would be sufficient for img-src, eliminating the need for the wildcard.

Low severity. An attacker who can embed HTML in content visible to other users (shared work packages, wiki pages) can use tracking pixels to detect when specific users view that content, leaking timing and authentication state information.

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

Affected software

SoftwareAffected versions
OpenProjectServers and applications · github:opf/openproject
  • Every version before 17.5

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