Skip to content
Heist/ feed
Back to feed
Medium

Snappy: SSRF and local file read via the xsl-style-sheet option

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-46683
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:24 UTC · Revision 1

Source evidence

Snappy: SSRF and local file read via the xsl-style-sheet option

core-osv · Original source

Published 10 Jun 2026, 19:53 UTC

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.

osv:CVE-2026-46683
Complete source record
{
  "id": "2d01dfd9dc5d2314a9aeec8260901ff7741ec7caa2f12afab5b95238f4b8c076",
  "url": "https://osv.dev/vulnerability/CVE-2026-46683",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Snappy: SSRF and local file read via the xsl-style-sheet option",
    "summary": "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.",
    "evidence": "osv:CVE-2026-46683",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-46683",
      "aliases": [
        "CVE-2026-46683",
        "GHSA-c5fp-p67m-gq56"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/knplabs/snappy",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5f84912209d176e927dbc9489115c55f17fdc2ec"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5f84912209d176e927dbc9489115c55f17fdc2ec"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.7.0"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.0"
                      }
                    ],
                    "source": "DESCRIPTION"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.6.0",
            "v1.5.1",
            "v1.5.0",
            "v1.4.4",
            "v1.4.3",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.1",
            "v1.3.0",
            "v1.2.1",
            "v1.2.0",
            "v1.1.0",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0",
            "v0.5.0",
            "0.4.3",
            "0.4.2",
            "0.4.1",
            "0.4",
            "0.3.4",
            "0.3.3",
            "0.3.2",
            "0.3.1",
            "0.3.0",
            "0.2.1",
            "0.2.0",
            "0.1.2",
            "0.1.1",
            "0.1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46683.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.706835421Z",
      "provider": "osv",
      "references": [
        "https://github.com/KnpLabs/snappy/releases/tag/v1.7.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46683.json",
        "https://github.com/KnpLabs/snappy/security/advisories/GHSA-c5fp-p67m-gq56",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-46683"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46683.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-46683",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503064,
  "published_at": "2026-06-10T19:53:09.02+00:00"
}