GHSA-v86m-j5f7-ccwh: Passbolt/passbolt api Passbolt Api E-mail HTML Injection Vulnerability
MODERATEGHSA-v86m-j5f7-ccwh is a MODERATE (CVSS 4.4) passbolt api e-mail html injection vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Passbolt/passbolt api libraries in the Packagist ecosystem. The issue involves passbolt api e-mail html injection. Remediation is available by upgrading affected packages to version 2.7.0.
GHSA-v86m-j5f7-ccwh at a Glance
Security Impact
CVSS: 4.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N).
How to Fix GHSA-v86m-j5f7-ccwh
To remediate this vulnerability, upgrade all affected Passbolt/passbolt api dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade passbolt/passbolt_api to 2.7.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for passbolt/passbolt_api
How to Check if You Are Affected
To determine whether your application is affected by GHSA-v86m-j5f7-ccwh, inspect your project dependencies for Passbolt/passbolt api:
inspect dependencies for passbolt/passbolt_api
Analyze the terminal output to locate any version of Passbolt/passbolt api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Passbolt/passbolt api, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-v86m-j5f7-ccwh Affected Passbolt/passbolt api Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
passbolt/passbolt_api
|
Packagist |
< 2.7.0
|
2.7.0
|
References
Frequently Asked Questions
What is GHSA-v86m-j5f7-ccwh?
Which Passbolt/passbolt api versions are affected?
What version fixes GHSA-v86m-j5f7-ccwh?
Is passbolt/passbolt_api affected?
What is the CVSS score of GHSA-v86m-j5f7-ccwh?
What CWE is associated with GHSA-v86m-j5f7-ccwh?
How can I check Packagist dependencies for GHSA-v86m-j5f7-ccwh?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v86m-j5f7-ccwh",
"modified" : "2024-05-20T16:51:20Z",
"published" : "2024-05-20T16:51:20Z",
"aliases" : [ ],
"summary" : "Passbolt Api E-mail HTML injection",
"details" : "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.\n\nPassbolt does not escape the user’s input properly, resulting in the user being able to inject HTML code in an e-mail.\n\nAn 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.\n\nThis vulnerability has a very low impact. Most MUA do not embed remote images to protect their users’ privacy.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "passbolt/passbolt_api"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.7.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/passbolt/passbolt_api/commit/00f0ebe37d78815adee26d5e80cf2250fe878647"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/passbolt/passbolt_api/2019-02-11-3.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/passbolt/passbolt_api"
}, {
"type" : "WEB",
"url" : "https://www.passbolt.com/incidents/20190211_multiple_vulnerabilities"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-20T16:51:20Z",
"nvd_published_at" : null
}
}