CVSS 3.1 Score 9.8 of 10 (high)


Published Sep 6, 2023
Updated: Sep 12, 2023
CWE ID 502


CVE-2023-41330 is a vulnerability that affects the PHP library knplabs/knp-snappy, which is used for thumbnail, snapshot, or PDF generation from a URL or HTML page. The vulnerability allows an attacker to execute remote code through PHAR deserialization. Version 1.4.2 attempted to fix this issue by adding a check in the `prepareOutput` function, but if the user can control the second parameter of the `generateFromHtml()` function, it will be passed as the filename parameter and can still trigger deserialization on arbitrary PHAR files. The vulnerability has a base severity rating of CRITICAL and poses a high risk to organizations, with potential impacts on confidentiality and integrity. To remediate this vulnerability, users should update to a version of knplabs/knp-snappy that includes the fix for CVE-2023-28115.


Explore Beyond the CVE Basics with Recorded Future's Vulnerability Intelligence

Note: This is just a basic overview providing quick insights into CVE-2023-41330 information. Gain full access to comprehensive CVE data, risk scores, prioritization, and mitigation data through Recorded Future's Vulnerability Intelligence:
  • Prioritize with Risk-Based Scoring
  • Explore the Extensive Vulnerability Database
  • Receive Early Alerts on Emerging CVEs
  • Focus on Critical Exploitable Vulnerabilities
  • Streamline Remediation with Integration Options