{"answers":{"affected":"5 open source packages ship an affected version, including github.com/imgproxy/imgproxy/v3, github.com/imgproxy/imgproxy and github.com/imgproxy/imgproxy/v2. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1496 exists.","fix":"Upgrade github.com/imgproxy/imgproxy/v3 to 3.14.0 or later.","what":"CVE-2023-1496 is a medium-severity cross-site scripting vulnerability in imgproxy/imgproxy, published on 19 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-1496 and fix it if it is affected.\n\nWhat it is: CVE-2023-1496 is a medium-severity cross-site scripting vulnerability in imgproxy/imgproxy, published on 19 Mar 2023. 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-2023-1496 exists.\n\nAffected packages and fixed versions:\n- github.com/imgproxy/imgproxy/v3 (Go): affected all versions; fixed in 3.14.0\n- github.com/imgproxy/imgproxy/v3 (Go): affected all versions; fixed in 3.14.0\n- github.com/imgproxy/imgproxy/v3 (Go): affected all versions; fixed in 3.14.0\n- github.com/imgproxy/imgproxy (Go): affected all versions; no fix listed\n- github.com/imgproxy/imgproxy/v2 (Go): 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-2023-1496/ (Markdown: https://insights.sbomify.com/CVE-2023-1496/index.md)","id":"CVE-2023-1496","markdown":"https://insights.sbomify.com/CVE-2023-1496/index.md","name":"CVE-2023-1496","record":{"aliases":["GHSA-ch9g-x9j7-rcgp","GO-2023-1651"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Image proxy server","requires_auth":"none","summary":"An attacker can execute arbitrary scripts in a victim's browser via reflected XSS in the imgproxy image proxy server.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"imgproxy","vendor":"evilmartians"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site Scripting (XSS) - Reflected in GitHub repository imgproxy/imgproxy prior to 3.14.0.","ecosystems":["Go"],"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-1496.yaml","stars":null,"title":"Imgproxy \u003c 3.14.0 - Cross-site Scripting (XSS)"}],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site Scripting (XSS) - Reflected in imgproxy/imgproxy","id":"CVE-2023-1496","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":5,"n_references":2,"next":{"headline":"SourceCodester Simple and Nice Shopping Cart Script uploaderm.php unrestricted upload","id":"CVE-2023-1497"},"packages":[{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy","purl":"pkg:golang/github.com/imgproxy/imgproxy","source":"GO-2023-1651"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy/v2","purl":"pkg:golang/github.com/imgproxy/imgproxy/v2","source":"GO-2023-1651"},{"ecosystem":"Go","fixed":["3.14.0"],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy/v3","purl":null,"source":"GHSA-ch9g-x9j7-rcgp"},{"ecosystem":"Go","fixed":["3.14.0"],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy/v3","purl":"pkg:golang/github.com/imgproxy/imgproxy/v3","source":"GHSA-ch9g-x9j7-rcgp"},{"ecosystem":"Go","fixed":["3.14.0"],"introduced":["0"],"last_affected":[],"package":"github.com/imgproxy/imgproxy/v3","purl":"pkg:golang/github.com/imgproxy/imgproxy/v3","source":"GO-2023-1651"}],"prev":{"headline":"Rebuild list queryListOfConfig sql injection","id":"CVE-2023-1495"},"products":["imgproxy/imgproxy"],"published":"2023-03-19","related":[{"cvss_score":5.3,"headline":"imgproxy is vulnerable to Server-Side Request Forgery","id":"CVE-2023-30019","kev_date_added":null,"published":"2023-05-08"}],"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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"yes","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-26","vendors":["imgproxy"]},"summary":"An attacker can execute arbitrary scripts in a victim's browser via reflected XSS in the imgproxy image proxy server.","url":"https://insights.sbomify.com/CVE-2023-1496/"}