CVE-2022-30874 Cross-site Scripting in NukeViet CMS
Stored Cross-Site Scripting in NukeViet CMS allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-30874?
CVE-2022-30874 is a medium-severity cross-site scripting vulnerability in n/a, published on 21 Jun 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
There is a Cross Site Scripting Stored (XSS) vulnerability in NukeViet CMS before 4.5.02.
Weakness: CWE-79
Which versions are affected by CVE-2022-30874?
2 open source packages ship an affected version, including nukeviet/nukeviet. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nukeviet/nukeviet Packagist | All versions | 4.5.02 |
nukeviet/nukeviet Packagist | All versions | 4.5.02 |
Products include Nukeviet Nukeviet.
How do I fix CVE-2022-30874?
Upgrade nukeviet/nukeviet to 4.5.02 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-30874 being exploited?
There is no known exploitation of CVE-2022-30874 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pm37-5j5m-6cvw.