CVE-2024-3850: Uniview NVR301-04S2-P4 is vulnerable to reflected cross-site scripting attack (XSS)
CVE-2024-3850 is a medium-severity flaw (CVSS 5.4) affecting nvr301-04s2-p4 firmware. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
Uniview NVR301-04S2-P4 is vulnerable to reflected cross-site scripting attack (XSS). An attacker could send a user a URL that if clicked on could execute malicious JavaScript in their browser. This vulnerability also requires authentication before it can be exploited, so the scope and severity is limited. Also, even if JavaScript is executed, no additional benefits are obtained.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.9% (top 40%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-06-10 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: Uniview NVR301-04S2-P4 - Cross-Site Scripting
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-3850?
nvr301-04s2-p4 firmware: upgrade to nvr-b3801.20.17.240507. Exact commands for each OS are on this page.
Is CVE-2024-3850 being exploited?
CVE-2024-3850 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-3850 affect?
CVE-2024-3850 affects nvr301-04s2-p4 firmware. Severity is medium (CVSS 5.4). Uniview NVR301-04S2-P4 is vulnerable to reflected cross-site scripting attack (XSS). An attacker could send a user a URL that if clicked on could execute malicious JavaScript in their browser. This vulnerability also requires authentication
How urgent is CVE-2024-3850?
Priority 34/100. No elevated risk signals yet.