GitHub Advisoryadvisory · Packagist

GHSA-v86m-j5f7-ccwh Passbolt Api E-mail HTML injection

MEDIUM Published 2024-05-20 Modified 2024-05-20 Official page ↗
Ecosystem
Packagist
Packages
passbolt/passbolt_api
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2024-05-20

Affected packages

• Packagist passbolt/passbolt_api: < 2.7.0 → fixed in 2.7.0

Description

Passbolt sends e-mail to users to warn them about different type of events such as the creation, modification or deletion of a password. Those e-mails may contain user-specified input, such as a password’s title or description. Passbolt does not escape the user’s input properly, resulting in the user being able to inject HTML code in an e-mail. An authenticated attacker could share a password containing an img HTML tag in its description with an other user to obtain information about their mail user-agent. This vulnerability has a very low impact. Most MUA do not embed remote images to protect their users’ privacy.

Related

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References