{"answers":{"affected":"2 open source packages ship an affected version, including knplabs/knp-snappy.","exploited":"There is no known exploitation of CVE-2026-46683 in the wild and no public exploit code.","fix":"Upgrade knplabs/knp-snappy to 1.7.0 or later.","what":"CVE-2026-46683 is a medium-severity server-side request forgery vulnerability in KnpLabs snappy, published on 10 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-46683 and fix it if it is affected.\n\nWhat it is: CVE-2026-46683 is a medium-severity server-side request forgery vulnerability in KnpLabs snappy, published on 10 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-46683 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- knplabs/knp-snappy (Packagist): affected all versions; fixed in 1.7.0\n- knplabs/knp-snappy (Packagist): affected all versions; fixed in 1.7.0\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-2026-46683/ (Markdown: https://insights.sbomify.com/CVE-2026-46683/index.md)","id":"CVE-2026-46683","markdown":"https://insights.sbomify.com/CVE-2026-46683/index.md","name":"CVE-2026-46683","record":{"aliases":["GHSA-c5fp-p67m-gq56"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP PDF generation library","requires_auth":"none","summary":"Attackers can exploit the xsl-style-sheet option to perform Server-Side Request Forgery and read local files in Snappy.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:L/SA:N","version":"4.0"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"description":"Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Prior to version 1.7.0, there is a SSRF and local file read vulnerability via the xsl-style-sheet option. This issue has been patched in version 1.7.0.","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":"Snappy: SSRF and local file read via the xsl-style-sheet option","id":"CVE-2026-46683","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"DataEase: Unauthorized Command Execution Vulnerability","id":"CVE-2026-46684"},"packages":[{"ecosystem":"Packagist","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"knplabs/knp-snappy","purl":null,"source":"GHSA-c5fp-p67m-gq56"},{"ecosystem":"Packagist","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"knplabs/knp-snappy","purl":"pkg:composer/knplabs/knp-snappy","source":"GHSA-c5fp-p67m-gq56"}],"prev":{"headline":"BigBlueButton: Blind SQL Injection AUTH (Moderator)","id":"CVE-2026-46682"},"products":["snappy"],"published":"2026-06-10","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-11","vendors":["KnpLabs"]},"summary":"Attackers can exploit the xsl-style-sheet option to perform Server-Side Request Forgery and read local files in Snappy.","url":"https://insights.sbomify.com/CVE-2026-46683/"}