{"answers":{"affected":"2 open source packages ship an affected version, including unopim/unopim. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52305 exists.","fix":"Upgrade unopim/unopim to 0.1.5 or later.","what":"CVE-2024-52305 is a medium-severity cross-site scripting vulnerability in unopim, published on 13 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-52305 and fix it if it is affected.\n\nWhat it is: CVE-2024-52305 is a medium-severity cross-site scripting vulnerability in unopim, published on 13 Nov 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-52305 exists.\n\nAffected packages and fixed versions:\n- unopim/unopim (Packagist): affected all versions; fixed in 0.1.5\n- unopim/unopim (Packagist): affected all versions; fixed in 0.1.5\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-52305/ (Markdown: https://insights.sbomify.com/CVE-2024-52305/index.md)","id":"CVE-2024-52305","markdown":"https://insights.sbomify.com/CVE-2024-52305/index.md","name":"CVE-2024-52305","record":{"aliases":["GHSA-cgr4-c233-h733"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"PIM system","requires_auth":"none","summary":"Attackers can steal session cookies via stored XSS in the user profile image upload feature, potentially leading to account takeover.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"unopim","vendor":"webkul"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-692","name":"Incomplete Denylist to Cross-Site Scripting"},{"id":"CWE-616","name":"Incomplete Identification of Uploaded File Variables (PHP)"}],"description":"UnoPim is an open-source Product Information Management (PIM) system built on the Laravel framework. A vulnerability exists in the Create User process, allowing the creation of a new admin account with an option to upload a profile image. An attacker can upload a malicious SVG file containing an embedded script. When the profile image is accessed, the embedded script executes, leading to the potential theft of session cookies. This vulnerability is fixed in 0.1.5.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"UnoPim Stored XSS : Cookie hijacking through Create User function","id":"CVE-2024-52305","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"FileManager Deserialization of Untrusted Data","id":"CVE-2024-52306"},"packages":[{"ecosystem":"Packagist","fixed":["0.1.5"],"introduced":["0"],"last_affected":[],"package":"unopim/unopim","purl":null,"source":"GHSA-cgr4-c233-h733"},{"ecosystem":"Packagist","fixed":["0.1.5"],"introduced":["0"],"last_affected":[],"package":"unopim/unopim","purl":"pkg:composer/unopim/unopim","source":"GHSA-cgr4-c233-h733"}],"prev":{"headline":"aiohttp vulnerable to request smuggling due to incorrect parsing of chunk extensions","id":"CVE-2024-52304"},"products":["unopim"],"published":"2024-11-13","related":[{"cvss_score":8.1,"headline":"unopim/unopim allows unauthorized product deletion via mass-delete endpoint","id":"CVE-2025-55741","kev_date_added":null,"published":"2025-08-22"},{"cvss_score":8,"headline":"UnoPim Stored XSS via SVG MIME/Sanitizer Bypass","id":"CVE-2025-55742","kev_date_added":null,"published":"2025-08-21"},{"cvss_score":7.3,"headline":"UnoPim vulnerable to remote code execution through Arbitrary File upload","id":"CVE-2025-55743","kev_date_added":null,"published":"2025-08-21"},{"cvss_score":6.9,"headline":"UnoPim vulnerable to CSRF on Product edit feature and creation of other types","id":"CVE-2025-55744","kev_date_added":null,"published":"2025-08-21"},{"cvss_score":5.4,"headline":"UnoPim Cross-site Scripting vulnerability","id":"CVE-2024-50637","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":2.5,"headline":"UnoPim Quick Export feature is vulnerable to CSV injection","id":"CVE-2025-55745","kev_date_added":null,"published":"2025-08-22"}],"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-13","vendors":["unopim"]},"summary":"Attackers can steal session cookies via stored XSS in the user profile image upload feature, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2024-52305/"}