High

Passbolt API Stored XSS on first/last name during setup

  • Disclosed: 20.05.2024
  • Updated: 11.10.2026 10:22

Description

An administrator can craft a user with a malicious first name and last name, using a payload such as

<svg onload="confirm(document.domain)">'); ?></svg>

The user will then receive the invitation email and click on the setup link. The setup start page served by the server will fire the XSS.

Impact of issue

An administrator could use this exploit to edit the setup start page for a given user, for example, trick the user into installing another extension. Even though the severity of this issue in itself is high, the likelihood is low because the exploit will be visible in clear by the user in the email notification, and also requires an action from a malicious administrator.

Fix

Sanitize the firstname and lastname in the page that is used to trigger the extension setup process.

Additionally since v2.11 some default CSP are inserted in the server response headers to prevent inline-scripts or 3rd party domain scripts on pages served by the passbolt API. This is to cater for the case where the administrator has not set them up as part of the web server configuration.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package passbolt/passbolt_api < 2.11.0 2.11.0

References

CVSS score 7.2/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-79
Platform
Composer
Package
passbolt/passbolt_api
Disclosed
20.05.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-2f46-4xjm-73x5 - CC BY 4.0

Vulnerability history: passbolt/passbolt_api

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
7
First → latest
05.2022 05.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 4
  • Low 1

Disclosures per year

  1. 2022: 1
  2. 2023: 0
  3. 2024: 6
  4. 2025: 0
  5. 2026: 0
  1. Medium · 5.5 ghsa-qm5v-pj64-852j < 2.11.0 2.11.0
  2. Passbolt API Stored XSS on first/last name during setup this entry
    High · 7.2 ghsa-2f46-4xjm-73x5 < 2.11.0 2.11.0
  3. High · 8.1 ghsa-cv5c-2qv5-w2m2 < 2.7.0 2.7.0
  4. Low · 3.7 ghsa-f5pp-pmq8-gp46 < 2.7.0 2.7.0
  5. Medium · 4.4 ghsa-v86m-j5f7-ccwh < 2.7.0 2.7.0
  6. Medium · 4.3 CVE-2024-33670 < 4.6.2 4.6.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.