GitHub Advisoryadvisory · Packagist
GHSA-v86m-j5f7-ccwh Passbolt Api E-mail HTML injection
MEDIUM
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
- https://github.com/passbolt/passbolt_api/commit/00f0ebe37d78815adee26d5e80cf2250fe878647 web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/passbolt/passbolt_api/2019-02-11-3.yaml web
- https://github.com/passbolt/passbolt_api package
- https://www.passbolt.com/incidents/20190211_multiple_vulnerabilities web