description: A cross-site scripting (XSS) vulnerability in the CGI program of the Zyxel ATP series firmware versions 5.10 through 5.37, USG FLEX series firmware versions 5.00 through 5.37, USG FLEX 50(W) series firmware versions 5.10 through 5.37, USG20(W)-VPN series firmware versions 5.10 through 5.37, and VPN series firmware versions 5.00 through 5.37, could allow an unauthenticated LAN-based attacker to store malicious scripts in a vulnerable device. A successful XSS attack could then result in the stored malicious scripts being executed to steal cookies when the user visits the specific CGI used for dumping ZTP logs.
problem types: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
affected:
{
defaultStatus: unaffected
product: ATP series firmware
vendor: Zyxel
versions:
status: affected, version: versions 5.10 through 5.37
}
{
defaultStatus: unaffected
product: USG FLEX series firmware
vendor: Zyxel
versions:
status: affected, version:  versions 5.00 through 5.37
}
{
defaultStatus: unaffected
product:  USG FLEX 50(W) series firmware
vendor: Zyxel
versions:
status: affected, version: versions 5.10 through 5.37
}
{
defaultStatus: unaffected
product: USG20(W)-VPN series firmware
vendor: Zyxel
versions:
status: affected, version:  versions 5.10 through 5.37
}
{
defaultStatus: unaffected
product: VPN series firmware
vendor: Zyxel
versions:
status: affected, version: versions 5.00 through 5.37
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: ADJACENT_NETWORK
availabilityImpact: NONE
baseScore: 5.2
baseSeverity: MEDIUM
confidentialityImpact: LOW
integrityImpact: LOW
privilegesRequired: NONE
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
version: 3.1
]
format: CVSS
scenarios: GENERAL