XSS in Nedi
CVE-2020-14413
NeDi 1.9C is vulnerable to XSS because of an incorrect implementation of sanitize() in inc/libmisc.php. This function attempts to escape the SCRIPT tag from user-controllable values, but can be easily bypassed, as demonstrated by an onerror attribute of an IMG element as a Devices-Config.php?sta= value.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.035, 89.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Nedi — versions 1.9c
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 3 other repositories (20142995/nuclei-templates, ARPSyndicate/kenzer-templates, Elsfa7-110/kenzer-templates). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- gist.github.com/farid007/8db2ab5367ba00e87f9479b32d46fea8 (Third Party Advisory)