High
Security advisory
An issue was discovered in ShopXO 1.2.0. In the UnlinkDir method of the FileUtil.php file, the input parameters are not checked, resulting in input mishandling by the rmdir method. Attackers can delete arbitrary files by using "../" directory traversal.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-5887
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:46 UTC · Revision 1
Source evidence
An issue was discovered in ShopXO 1.2.0. In the UnlinkDir method of the FileUtil.php file, the input parameters are not checked, resulting in input mishandling by the rmdir method. Attackers can delete arbitrary files by using "../" directory traversal.
osv:CVE-2019-5887
Complete source record
{
"id": "fbb673a090ce888ff96c655e10905ddb68c6c08144ee2a83eb3797a26e6aedad",
"url": "https://osv.dev/vulnerability/CVE-2019-5887",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-5887",
"summary": "An issue was discovered in ShopXO 1.2.0. In the UnlinkDir method of the FileUtil.php file, the input parameters are not checked, resulting in input mishandling by the rmdir method. Attackers can delete arbitrary files by using \"../\" directory traversal.",
"evidence": "osv:CVE-2019-5887",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-5887",
"aliases": [
"CVE-2019-5887"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/gongfuxiang/shopxo",
"type": "GIT",
"events": [
{
"introduced": "bfa775339ba67afc023cd4933ffbc7be200fdbd9"
},
{
"last_affected": "bfa775339ba67afc023cd4933ffbc7be200fdbd9"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:shopxo:shopxo:1.2.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "1.2.0"
},
{
"last_affected": "1.2.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"1.2.0",
"v1.2.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5887.json"
}
}
],
"modified": "2026-10-20T10:51:40.299953369Z",
"provider": "osv",
"references": [
"https://github.com/gongfuxiang/shopxo/issues/2"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-5887",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 382742,
"published_at": "2019-01-10T14:29:00.243+00:00"
}