MediumFix available
php5 — security advisory
An issue was discovered in ext/phar/phar_object.c in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. There is Reflected XSS on the PHAR 403 and 404 error pages via request data of a request for a .phar file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2018-5712.
- Products
- php5
- Affected versions
- Not specified
- Fixed versions
- 5.6.36-r0
- CVEs
- CVE-2018-10547
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 22:10 UTC · Revision 1
Source evidence
An issue was discovered in ext/phar/phar_object.c in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. There is Reflected XSS on the PHAR 403 and 404 error pages via request data of a request for a .phar file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2018-5712.
osv:ALPINE-CVE-2018-10547
php5
Fixed versions: 5.6.36-r0
php5
Fixed versions: 5.6.36-r0
Complete source record
{
"id": "12099ebdb10208e5c50d22b5b99169b5f44101ad45d05bd009dae5677572fefe",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2018-10547",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2018-10547",
"summary": "An issue was discovered in ext/phar/phar_object.c in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. There is Reflected XSS on the PHAR 403 and 404 error pages via request data of a request for a .phar file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2018-5712.",
"evidence": "osv:ALPINE-CVE-2018-10547",
"products": [
{
"name": {
"value": "php5",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.6.36-r0",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "php5",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.6.36-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2018-10547",
"aliases": [
"ALPINE-CVE-2018-10547"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.6.36-r0"
}
]
}
],
"package": {
"name": "php5",
"purl": "pkg:apk/alpine/php5?arch=source",
"ecosystem": "Alpine:v3.4"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-10547.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "5.6.36-r0"
}
]
}
],
"package": {
"name": "php5",
"purl": "pkg:apk/alpine/php5?arch=source",
"ecosystem": "Alpine:v3.5"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2018-10547.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-23T17:23:40.828290073Z",
"provider": "osv",
"upstream": [
"CVE-2018-10547"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2018-10547"
]
},
"related_cves": [
{
"value": "CVE-2018-10547",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 415763,
"published_at": "2018-04-29T21:29:00.4+00:00"
}