{"answers":{"affected":"2 open source packages ship an affected version, including passbolt/passbolt_api. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-33670 in the wild and no public exploit code.","fix":"Upgrade passbolt/passbolt_api to 4.6.2 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-33670 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-33670 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- passbolt/passbolt_api (Packagist): affected all versions; fixed in 4.6.2\n- passbolt/passbolt_api (Packagist): affected all versions; fixed in 4.6.2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-33670/ (Markdown: https://insights.sbomify.com/CVE-2024-33670/index.md)","id":"CVE-2024-33670","markdown":"https://insights.sbomify.com/CVE-2024-33670/index.md","name":"CVE-2024-33670","record":{"aliases":["GHSA-2pg6-vw9c-qhjv"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["other"],"network_reachable":"yes","non_default_config":false,"product_category":"Passbolt API","requires_auth":"none","summary":"Attackers can inject HTML into URL parameters to alter page appearance and user interaction, though JavaScript execution is blocked by CSP.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"passbolt_api","vendor":"passbolt"}],"cvss":{"score":4.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AC:L/AV:N/A:N/C:L/I:N/PR:N/S:U/UI:R","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Passbolt API allows HTML injection","id":"CVE-2024-33670","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":2,"n_references":3,"next":{"headline":"Path traversal in n/a","id":"CVE-2024-33671"},"packages":[{"ecosystem":"Packagist","fixed":["4.6.2"],"introduced":["0"],"last_affected":[],"package":"passbolt/passbolt_api","purl":null,"source":"GHSA-2pg6-vw9c-qhjv"},{"ecosystem":"Packagist","fixed":["4.6.2"],"introduced":["0"],"last_affected":[],"package":"passbolt/passbolt_api","purl":"pkg:composer/passbolt/passbolt_api","source":"GHSA-2pg6-vw9c-qhjv"}],"prev":{"headline":"Passbolt Browser Extension leaks password information","id":"CVE-2024-33669"},"products":["n/a"],"published":"2024-04-26","related":[{"cvss_score":5.4,"headline":"Passbolt API is vulnerable to XSS in the url field on the password workspace grid and sidebar","id":"CVE-2017-1000442","kev_date_added":null,"published":"2018-01-02"},{"cvss_score":2.1,"headline":"Other in API","id":"CVE-2025-27913","kev_date_added":null,"published":"2025-03-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["n/a"]},"summary":"Attackers can inject HTML into URL parameters to alter page appearance and user interaction, though JavaScript execution is blocked by CSP.","url":"https://insights.sbomify.com/CVE-2024-33670/"}