# CVE-2024-33670: Passbolt API allows HTML injection

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 4.3
- **CVSS:** 4.3 (v3.1, CNA) `CVSS:3.1/AC:L/AV:N/A:N/C:L/I:N/PR:N/S:U/UI:R`
- **CVSS metrics:** Attack complexity: Low; Attack vector: Network; Availability impact: None; Confidentiality impact: Low; Integrity impact: None; Privileges required: None; Scope: Unchanged; User interaction: Required
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.68% (percentile 48, 2026-11-26)
- **CWE:** CWE-79
- **Aliases:** GHSA-2pg6-vw9c-qhjv
- **Published:** 2024-04-26T00:00:00.000Z
- **Modified:** 2026-06-17T07:32:12.557Z

## Who should check

- Projects that depend on Packagist package passbolt/passbolt\_api (\< 4.6.2)
- Anyone running n/a (versions: see the vendor advisory)
- Anyone running passbolt\_api (versions: see the vendor advisory)

## 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.

## Affected and fixed versions

- Packagist `passbolt/passbolt_api`: affected \< 4.6.2; fixed 4.6.2 (osv)
- n/a: see vendor advisory (nvd)
- passbolt\_api: see vendor advisory (nvd)

## Mitigation

- Upgrade passbolt/passbolt\_api to 4.6.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-33670. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-33670.md
Affected: passbolt/passbolt_api < 4.6.2
Fixed in: 4.6.2

Steps:
1. Search this machine and project for passbolt/passbolt_api (Packagist), n/a, passbolt_api: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-33670 being exploited?

There is no confirmed exploitation: CVE-2024-33670 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.68% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-33670?

Medium: CVSS 4.3 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2024-33670?

passbolt/passbolt\_api \< 4.6.2.

### Is there a fix for CVE-2024-33670?

Yes. Fixed in 4.6.2. Upgrade passbolt/passbolt\_api to 4.6.2 or later.

### How do I check if I'm affected by CVE-2024-33670?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://www.passbolt.com/incidents>
- vendor: <https://help.passbolt.com/incidents/reflective-html-injection-vulnerability>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2024-33670>
- patch: <https://github.com/passbolt/passbolt_api/commit/5c537849040990086dcd5013b5bb009e1dad3fb6>
- other: <https://www.passbolt.com/security/more>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-33670>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-2pg6-vw9c-qhjv> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2024-33670> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-33670>
