{"id":"CVE-2021-40041","aliases":["EUVD-2021-27231","GHSA-4frh-rw8g-vq9h"],"status":"published","title":"There is a Cross-Site Scripting(XSS) vulnerability in HUAWEI WS318n product when processing...","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.","severity":{"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","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00174,"percentile":0.06901,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-01-07T22:39:24Z","modified":"2026-06-17T04:06:26Z","products":[{"vendor":"huawei","product":"ws318n-21_firmware"}],"references":[{"url":"https://www.huawei.com/en/psirt/security-advisories/huawei-sa-20211229-01-xss-en","tags":["x_refsource_MISC","x_transferred","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-40041"},{"url":"https://github.com/advisories/GHSA-4frh-rw8g-vq9h"}],"sources":{"cve":[{"id":"CVE-2021-40041","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.","status":"published","published":"2022-01-07T22:39:24Z","modified":"2024-08-04T02:27:31.406Z","updated_at":"2026-11-02T14:33:01.495293Z"}],"euvd":[{"id":"EUVD-2021-27231","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.","status":"published","published":"2022-01-07T22:39:24Z","modified":"2024-08-04T02:27:31Z","updated_at":"2026-11-03T03:24:21.368958Z"}],"ghsa":[{"id":"GHSA-4frh-rw8g-vq9h","title":"There is a Cross-Site Scripting(XSS) vulnerability in HUAWEI WS318n product when processing...","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.","status":"published","published":"2022-01-11T00:01:16Z","modified":"2023-02-03T05:04:15Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:53:30.880998Z"}],"nvd":[{"id":"CVE-2021-40041","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.","status":"published","published":"2022-01-10T14:10:23.123Z","modified":"2026-06-17T04:06:26.54Z","cvss":[{"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","level":"medium","assessor":"primary"},{"version":"2.0","score":1.9,"vector":"AV:L/AC:M/Au:N/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:03.418194Z"}]}}
