CVE-2020-28847 Cross site scripting in valine
Cross-site scripting in Valine allows attackers to inject malicious scripts via the nick parameter, potentially compromising user sessions.
- 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-2020-28847?
CVE-2020-28847 is a medium-severity cross-site scripting vulnerability in n/a, published on 5 Apr 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
Cross Site Scripting (XSS) vulnerability in xCss Valine v1.4.14 via the nick parameter to /classes/Comment.
Weakness: CWE-79
Which versions are affected by CVE-2020-28847?
2 open source packages ship an affected version, including valine. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
valine npm | All versions | 1.4.15 |
valine npm | All versions | 1.4.15 |
Products include Valine.js Valine.
How do I fix CVE-2020-28847?
Upgrade valine to 1.4.15 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-2020-28847 being exploited?
There is no known exploitation of CVE-2020-28847 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-6xvq-2gj8-4276.