All vulnerabilities

Servers and applications

CVE-2026-44696

Stored CSS injection via Sanitize::Config::RELAXED[:css] enables phishing overlays and data exfiltration

Severity
Medium 5.7
Published
13 May 2026
Last changed
13 May 2026
Added to UpHeron
3 Nov 2026
Fixed in
17.4.0
Exploit chance
0.3% in the next 30 daysHigher than 17% 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
Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Also known as
GHSA-j9q2-49mp-hmq5
Sources
Project advisories (GitHub)

Description

OpenProject's rich text (markdown) rendering pipeline uses Sanitize::Config::RELAXED[:css] for inline style sanitization. This configuration permits essentially all CSS properties in style attributes on permitted HTML elements (figure, img, table, th, tr, td).

This allows any authenticated user with write access to formattable text fields (work package descriptions, comments, project descriptions, news) to inject CSS that:

  • Creates full-screen phishing overlays using position:fixed; z-index:99999
  • Exfiltrates data via background-image:url() and border-image:url() to external servers
  • Spoofs UI elements by injecting fake modal dialogs that mimic OpenProject's interface

File: lib/open_project/text_formatting/filters/sanitization_filter.rb, line 65:

The RELAXED CSS config from the Sanitize gem (v7.0.0) permits all CSS properties. Combined with the element/attribute whitelist that allows style on figure, img, table, th, tr, and td:

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.4.0

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