MediumFix available
awstats — security advisory
AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.
- Products
- awstats
- Affected versions
- Not specified
- Fixed versions
- 7.8-r3, 7.9-r0
- CVEs
- CVE-2022-46391
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:19 UTC · Revision 1
Source evidence
AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.
osv:ALPINE-CVE-2022-46391
awstats
Fixed versions: 7.8-r3
awstats
Fixed versions: 7.9-r0
awstats
Fixed versions: 7.9-r0
awstats
Fixed versions: 7.9-r0
awstats
Fixed versions: 7.9-r0
awstats
Fixed versions: 7.9-r0
Complete source record
{
"id": "62b934b97e9301adbaca37baaf58a74f63553f55b028ebe4cf481c29b30558b0",
"url": "https://osv.dev/vulnerability/ALPINE-CVE-2022-46391",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "ALPINE-CVE-2022-46391",
"summary": "AWStats 7.x through 7.8 allows XSS in the hostinfo plugin due to printing a response from Net::XWhois without proper checks.",
"evidence": "osv:ALPINE-CVE-2022-46391",
"products": [
{
"name": {
"value": "awstats",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.8-r3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "awstats",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.9-r0",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "awstats",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.9-r0",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "awstats",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.9-r0",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "awstats",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.9-r0",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "awstats",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "7.9-r0",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "ALPINE-CVE-2022-46391",
"aliases": [
"ALPINE-CVE-2022-46391"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.8-r3"
}
]
}
],
"package": {
"name": "awstats",
"purl": "pkg:apk/alpine/awstats?arch=source",
"ecosystem": "Alpine:v3.17"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-46391.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.9-r0"
}
]
}
],
"package": {
"name": "awstats",
"purl": "pkg:apk/alpine/awstats?arch=source",
"ecosystem": "Alpine:v3.18"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-46391.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.9-r0"
}
]
}
],
"package": {
"name": "awstats",
"purl": "pkg:apk/alpine/awstats?arch=source",
"ecosystem": "Alpine:v3.19"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-46391.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.9-r0"
}
]
}
],
"package": {
"name": "awstats",
"purl": "pkg:apk/alpine/awstats?arch=source",
"ecosystem": "Alpine:v3.20"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-46391.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.9-r0"
}
]
}
],
"package": {
"name": "awstats",
"purl": "pkg:apk/alpine/awstats?arch=source",
"ecosystem": "Alpine:v3.21"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-46391.json"
},
"ecosystem_specific": {}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "7.0"
},
{
"fixed": "7.9-r0"
}
]
}
],
"package": {
"name": "awstats",
"purl": "pkg:apk/alpine/awstats?arch=source",
"ecosystem": "Alpine:v3.22"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-46391.json"
},
"ecosystem_specific": {}
}
],
"modified": "2026-10-15T07:17:54.275306182Z",
"provider": "osv",
"upstream": [
"CVE-2022-46391"
],
"references": [
"https://security.alpinelinux.org/vuln/CVE-2022-46391"
]
},
"related_cves": [
{
"value": "CVE-2022-46391",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 322057,
"published_at": "2022-12-04T03:15:09.967+00:00"
}