Publish GHSA-j2gw-r24m-j2qw

This commit is contained in:
advisory-database[bot]
2025-02-05 21:27:48 +00:00
parent 4f7e37634b
commit 1508478271
@@ -1,11 +1,12 @@
{
"schema_version": "1.4.0",
"id": "GHSA-j2gw-r24m-j2qw",
"modified": "2025-02-05T06:30:26Z",
"modified": "2025-02-05T21:26:43Z",
"published": "2025-02-05T06:30:26Z",
"aliases": [
"CVE-2025-1022"
],
"summary": "Browsershot Path Traversal",
"details": "Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation in the setHtml function, invoked by Browsershot::html(), which can be bypassed by omitting the slashes in the file URI (e.g., file:../../../../etc/passwd). This is due to missing validations of the user input that should be blocking file URI schemes (e.g., file:// and file:/) in the HTML content.",
"severity": [
{
@@ -17,7 +18,27 @@
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [],
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "spatie/browsershot"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.0.5"
}
]
}
]
}
],
"references": [
{
"type": "ADVISORY",
@@ -35,6 +56,10 @@
"type": "WEB",
"url": "https://gist.github.com/mrdgef/a820837c530e09e1dd725e013e0d4341"
},
{
"type": "PACKAGE",
"url": "https://github.com/spatie/browsershot"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-PHP-SPATIEBROWSERSHOT-8496747"
@@ -42,11 +67,12 @@
],
"database_specific": {
"cwe_ids": [
"CWE-20"
"CWE-20",
"CWE-22"
],
"severity": "HIGH",
"github_reviewed": false,
"github_reviewed_at": null,
"github_reviewed": true,
"github_reviewed_at": "2025-02-05T21:26:43Z",
"nvd_published_at": "2025-02-05T05:15:10Z"
}
}