All vulnerabilities

Servers and applications

GHSA-xffq-c939-hm39

Script URL schemes in allowed link protocols are kept in rendered links

Severity
Medium 4.0
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
18.0.0
Weakness
Cross-site scripting (CWE-79)CWE-183Incomplete deny list (CWE-184)
Attack
Over the network · Only under certain conditions · Needs an administrator account · Needs someone to click or open something
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:N
Sources
Project advisories (GitHub)

Description

OpenProject's Administration → Settings → General → "Allowed link protocols" feature allows an administrator to extend the list of URI schemes that may appear in hyperlinks inside work-package descriptions, wiki pages, meeting notes, and any other rich-text field. The per-protocol input sanitization regex (/[^a-z0-9+-.]+/) is designed to strip structurally invalid characters, but it permits any lowercase-alpha string, including the dangerous schemes javascript, vbscript, and data. Once an administrator adds such a scheme, the server-side HTML sanitizer (Sanitize gem) is reconfigured to treat it as an allowed protocol and preserves it verbatim in rendered tags. A subsequent ordinary user — with only project-member privileges — can insert a link like click here)` in any text field, which is then stored in the database and served un-modified to every visitor of that page, achieving persistent (stored) cross-site scripting.

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 18.0.0

About OpenProject

web-based project management system

From Wikidata, CC0 1.0.
Total downloads
30M+OpenProject
Docker Hub pulls
6,539,922Docker Hub, 29 Nov 2026
GitHub stars
17,836GitHub, 29 Nov 2026
Forks
3,855GitHub, 29 Nov 2026
Latest release
v17.8.3GitHub, 29 Nov 2026
Released
19 Nov 2026GitHub
License
GNU General Public License, version 3.0Wikidata
Written in
RubyWikidata
First published on GitHub
28 Nov 2012GitHub

References