原始 OSV JSON{
"id": "GHSA-68q3-7wjp-7q3j",
"aliases": [
"CVE-2020-4041"
],
"details": "### Impact\n\nThe filename of uploaded files was vulnerable to stored XSS. It is not possible to inject javascript code in the file name when creating/uploading the file. But, once created/uploaded, it can be renamed to inject the payload in it. \n\nAdditionally, the measures to prevent renaming the file to disallowed filename extensions could be circumvented.\n\n### Patches\n\nThis is fixed in Bolt 3.7.1.\n\n### References\n\nRelated issue: https://github.com/bolt/bolt/pull/7853",
"summary": "The filename of uploaded files vulnerable to stored XSS",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.7.1"
}
]
}
],
"package": {
"name": "bolt/bolt",
"ecosystem": "Packagist"
}
}
],
"modified": "2022-10-07T20:40:49Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N"
}
],
"published": "2020-06-09T00:25:34Z",
"references": [
{
"url": "https://github.com/bolt/bolt/security/advisories/GHSA-68q3-7wjp-7q3j",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-4041",
"type": "ADVISORY"
},
{
"url": "https://github.com/bolt/bolt/pull/7853",
"type": "WEB"
},
{
"url": "https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f",
"type": "WEB"
},
{
"url": "https://github.com/bolt/bolt",
"type": "PACKAGE"
},
{
"url": "http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html",
"type": "WEB"
},
{
"url": "http://seclists.org/fulldisclosure/2020/Jul/4",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2020-06-08T22:15:00Z",
"github_reviewed_at": "2020-06-08T23:14:12Z"
}
}