CVE-2024-33670 Passbolt API allows HTML injection
Attackers can inject HTML into URL parameters to alter page appearance and user interaction, though JavaScript execution is blocked by CSP.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-33670?
CVE-2024-33670 is a medium-severity cross-site scripting vulnerability in n/a, published on 26 Apr 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Passbolt API before 4.6.2 allows HTML injection in a URL parameter, resulting in custom content being displayed when a user visits the crafted URL. Although the injected content is not executed as JavaScript due to Content Security Policy (CSP) restrictions, it may still impact the appearance and user interaction of the page.
Weakness: CWE-79
Which versions are affected by CVE-2024-33670?
2 open source packages ship an affected version, including passbolt/passbolt_api. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
passbolt/passbolt_api Packagist | All versions | 4.6.2 |
passbolt/passbolt_api Packagist | All versions | 4.6.2 |
Products include Passbolt Passbolt Api.
How do I fix CVE-2024-33670?
Upgrade passbolt/passbolt_api to 4.6.2 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-33670 being exploited?
There is no known exploitation of CVE-2024-33670 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-2pg6-vw9c-qhjv.