{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-40041","id":"CVE-2021-40041","title":"There is a Cross-Site Scripting(XSS) vulnerability in HUAWEI WS318n product when processing network settings","description":"There is a Cross-Site Scripting(XSS) vulnerability in HUAWEI WS318n product when processing network settings. Due to insufficient validation of user input, a local authenticated attacker could exploit this vulnerability by injecting special characters. Successful exploit could cause certain information disclosure. Affected product versions include: WS318n-21 10.0.2.2, 10.0.2.5 and 10.0.2.6.","descriptionLong":"There is a Cross-Site Scripting(XSS) vulnerability in HUAWEI WS318n product when processing network settings. Due to insufficient validation of user input, a local authenticated attacker could exploit this vulnerability by injecting special characters. Successful exploit could cause certain information disclosure. Affected product versions include: WS318n-21 10.0.2.2, 10.0.2.5 and 10.0.2.6.","published":"2022-01-07T22:39:24.000Z","updated":"2026-06-17T04:06:26.540Z","reserved":"2021-08-23T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"huawei","metric":{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":4.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"2.0","score":1.9,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":["WS318n-21"],"affectedProducts":[{"vendor":"n/a","product":"WS318n-21","defaultStatus":null,"versions":[{"status":"affected","version":"10.0.2.2"},{"status":"affected","version":"10.0.2.5"},{"status":"affected","version":"10.0.2.6"}],"platforms":[]}],"packages":[],"cwes":["CWE-79"],"aliases":[],"references":[{"url":"https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20211229-01-xss-en","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00174,"epssPercentile":0.07007,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-40041","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40041","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-40041","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-40041","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}