{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-44393 exists.","fix":"No fix has been published for CVE-2023-44393 yet. Limit exposure of the affected software until one is available.","what":"CVE-2023-44393 is a critical cross-site scripting vulnerability in Piwigo Piwigo, published on 9 Oct 2023. 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-2023-44393 and fix it if it is affected.\n\nWhat it is: CVE-2023-44393 is a critical cross-site scripting vulnerability in Piwigo Piwigo, published on 9 Oct 2023. An attacker can exploit it over the internet without logging in, 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-2023-44393 exists.\n\nAffected product: Piwigo Piwigo. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2023-44393/ (Markdown: https://insights.sbomify.com/CVE-2023-44393/index.md)","id":"CVE-2023-44393","markdown":"https://insights.sbomify.com/CVE-2023-44393/index.md","name":"CVE-2023-44393","record":{"aliases":["GHSA-qg85-957m-7vgg"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Piwigo photo gallery","requires_auth":"none","summary":"Reflected XSS in Piwigo allows attackers to inject malicious scripts executed by admin users, potentially leading to account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"piwigo","vendor":"piwigo"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Piwigo is an open source photo gallery application. Prior to version 14.0.0beta4, a reflected cross-site scripting (XSS) vulnerability is in the` /admin.php?page=plugins\u0026tab=new\u0026installstatus=ok\u0026plugin_id=[here]` page. This vulnerability can be exploited by an attacker to inject malicious HTML and JS code into the HTML page, which could then be executed by admin users when they visit the URL with the payload. The vulnerability is caused by the insecure injection of the `plugin_id` value from the URL into the HTML page. An attacker can exploit this vulnerability by crafting a malicious URL that contains a specially crafted `plugin_id` value. When a victim who is logged in as an administrator visits this URL, the malicious code will be injected into the HTML page and executed. This vulnerability can be exploited by any attacker who has access to a malicious URL. However, only users who are logged in as administrators are affected. This is because the vulnerability is only present on the `/admin.php?page=plugins\u0026tab=new\u0026installstatus=ok\u0026plugin_id=[here]` page, which is only accessible to administrators. Version 14.0.0.beta4 contains a patch for this issue.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2023/CVE-2023-44393.yaml","stars":null,"title":"Piwigo - Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":false,"headline":"Piwigo Reflected XSS vulnerability","id":"CVE-2023-44393","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"piwigo:piwigo","products":["piwigo:piwigo"],"type":"xss","year":"2023"},"n_packages":0,"n_references":2,"next":{"headline":"Disclosure of project names to unauthorized users in MantisBT","id":"CVE-2023-44394"},"packages":[],"prev":{"headline":"Arbitrary code execution vulnerability when using shared Kubernetes cluster","id":"CVE-2023-44392"},"products":["Piwigo"],"published":"2023-10-09","related":[{"cvss_score":10,"headline":"Unspecified vulnerability in Piwigo before 2.6.3 has unknown impact and attack vectors, related to a \"security failure.\"","id":"CVE-2014-4648","kev_date_added":null,"published":"2014-06-28"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2023-33361","kev_date_added":null,"published":"2023-05-23"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2023-33362","kev_date_added":null,"published":"2023-05-23"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2020-19213","kev_date_added":null,"published":"2022-05-06"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2021-32615","kev_date_added":null,"published":"2021-05-13"},{"cvss_score":9.8,"headline":"SQL injection in n/a","id":"CVE-2017-10682","kev_date_added":null,"published":"2017-06-29"},{"cvss_score":9.8,"headline":"Path traversal in n/a","id":"CVE-2016-10105","kev_date_added":null,"published":"2017-01-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-19","vendors":["Piwigo"]},"summary":"Reflected XSS in Piwigo allows attackers to inject malicious scripts executed by admin users, potentially leading to account takeover.","url":"https://insights.sbomify.com/CVE-2023-44393/"}