{"answers":{"affected":"2 open source packages ship an affected version, including dcat/laravel-admin. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-54774 exists.","fix":"No fix has been published for CVE-2024-54774 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-54774 is a medium-severity cross-site scripting vulnerability in n/a, published on 27 Dec 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-54774 and fix it if it is affected.\n\nWhat it is: CVE-2024-54774 is a medium-severity cross-site scripting vulnerability in n/a, published on 27 Dec 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-54774 exists.\n\nAffected packages and fixed versions:\n- dcat/laravel-admin (Packagist): affected all versions; no fix listed\n- dcat/laravel-admin (Packagist): affected all versions; no fix listed\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-54774/ (Markdown: https://insights.sbomify.com/CVE-2024-54774/index.md)","id":"CVE-2024-54774","markdown":"https://insights.sbomify.com/CVE-2024-54774/index.md","name":"CVE-2024-54774","record":{"aliases":["GHSA-9q34-7hfr-h8jm"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Dcat Admin","requires_auth":"high_privilege","summary":"Cross-site scripting in Dcat Admin allows attackers to inject malicious scripts into the article creation page, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"dcat_admin","vendor":"dcatadmin"}],"cvss":{"score":4.8,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Dcat Admin v2.2.0-beta contains a cross-site scripting (XSS) vulnerability in /admin/articles/create.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Dcat Admin Cross-site Scripting (XSS) vulnerability","id":"CVE-2024-54774","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2024"},"n_packages":2,"n_references":1,"next":{"headline":"Dcat-Admin Cross-Site Scripting (XSS) vulnerability","id":"CVE-2024-54775"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":[],"last_affected":[],"package":"dcat/laravel-admin","purl":null,"source":"GHSA-9q34-7hfr-h8jm"},{"ecosystem":"Packagist","fixed":[],"introduced":[],"last_affected":[],"package":"dcat/laravel-admin","purl":"pkg:composer/dcat/laravel-admin","source":"GHSA-9q34-7hfr-h8jm"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2024-54772"},"products":["n/a"],"published":"2024-12-27","related":[{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2025-65656","kev_date_added":null,"published":"2025-12-02"},{"cvss_score":6.1,"headline":"dcat-admin Cross Site Scripting vulnerability","id":"CVE-2024-29644","kev_date_added":null,"published":"2024-03-26"},{"cvss_score":5.4,"headline":"Dcat-Admin vulnerable to Stored Cross-site Scripting","id":"CVE-2023-33736","kev_date_added":null,"published":"2023-05-31"},{"cvss_score":5.1,"headline":"Dcat-Admin Roles Page roles cross site scripting","id":"CVE-2025-0709","kev_date_added":null,"published":"2025-01-24"},{"cvss_score":4.8,"headline":"Dcat-Admin Cross-Site Scripting (XSS) vulnerability","id":"CVE-2024-54775","kev_date_added":null,"published":"2024-12-27"}],"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-28","vendors":["n/a"]},"summary":"Cross-site scripting in Dcat Admin allows attackers to inject malicious scripts into the article creation page, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2024-54774/"}