原始 OSV JSON{
"id": "GHSA-wpvj-hjcr-h3p2",
"aliases": [
"CVE-2026-48820"
],
"details": "### Impact\n`View::_getElementFileName()` does not check that the resolved element path is within the application/plugin view template paths. When element names are created with specifically crafted user-supplied data this weakness can be leveraged to include other PHP files on the server.\n\n### Patches\nPatched releases are available in 5.3.6, 5.2.13, 5.1.7, 4.6.4, and 4.5.11.\n\n### Workarounds\nIf developers are not using user-supplied data in element names, no action is required.",
"summary": "CakePHP: View::element() is missing a path containment check",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.3.0"
},
{
"fixed": "5.3.6"
}
]
}
],
"package": {
"name": "cakephp/cakephp",
"ecosystem": "Packagist"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.2.0"
},
{
"fixed": "5.2.13"
}
]
}
],
"package": {
"name": "cakephp/cakephp",
"ecosystem": "Packagist"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.0.0"
},
{
"fixed": "5.1.7"
}
]
}
],
"package": {
"name": "cakephp/cakephp",
"ecosystem": "Packagist"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.6.0"
},
{
"fixed": "4.6.4"
}
]
}
],
"package": {
"name": "cakephp/cakephp",
"ecosystem": "Packagist"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.5.11"
}
]
}
],
"package": {
"name": "cakephp/cakephp",
"ecosystem": "Packagist"
}
}
],
"modified": "2026-06-26T21:00:10Z",
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
}
],
"published": "2026-06-26T21:00:10Z",
"references": [
{
"url": "https://github.com/cakephp/cakephp/security/advisories/GHSA-wpvj-hjcr-h3p2",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-48820",
"type": "ADVISORY"
},
{
"url": "https://github.com/cakephp/cakephp",
"type": "PACKAGE"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-06-17T22:16:22Z",
"github_reviewed_at": "2026-06-26T21:00:10Z"
}
}