Server-side Request Forgery (SSRF) Affecting knplabs/knp-snappy package, versions <1.7.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Server-side Request Forgery (SSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-KNPLABSKNPSNAPPY-16875113
  • published26 May 2026
  • disclosed21 May 2026
  • creditUnknown

Introduced: 21 May 2026

NewCVE-2026-46683  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade knplabs/knp-snappy to version 1.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) via the xsl-style-sheet option. An attacker can access internal or remote resources and read arbitrary local files by supplying crafted input to the xsl-style-sheet parameter.

CVSS Base Scores

version 4.0
version 3.1