CVE-2021-37330 Cross-site scripting in n/a
Attackers can inject malicious JavaScript via SVG avatar uploads, leading to XSS when viewed by other users or admins.
- 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
- None listed
What is CVE-2021-37330?
CVE-2021-37330 is a medium-severity cross-site scripting vulnerability in n/a, published on 4 Oct 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Laravel Booking System Booking Core 2.0 is vulnerable to Cross Site Scripting (XSS). The Avatar upload in the My Profile section could be exploited to upload a malicious SVG file which contains Javascript. Now if another user/admin views the profile and clicks to view his avatar, an XSS will trigger.
Weakness: CWE-79
Which versions are affected by CVE-2021-37330?
It affects 1 product.
Products include Bookingcore Booking Core.
How do I fix CVE-2021-37330?
No fix has been published for CVE-2021-37330 yet. Limit exposure of the affected software until one is available.
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-2021-37330 being exploited?
There is no known exploitation of CVE-2021-37330 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-699q-f67q-343m.