CVE-2020-6159 Cross-site scripting in Opera for Android
An XSS vulnerability in Opera for Android allows attackers to execute scripts via crafted URLs due to improper protocol stripping.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2020-6159?
CVE-2020-6159 is a medium-severity cross-site scripting vulnerability in Opera for Android, published on 23 Dec 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
URLs using “javascript:” have the protocol removed when pasted into the address bar to protect users from cross-site scripting (XSS) attacks, but in certain circumstances this removal was not performed. This could allow users to be socially engineered to run an XSS attack against themselves. This vulnerability affects Opera for Android versions below 61.0.3076.56532.
Weakness: CWE-79
Which versions are affected by CVE-2020-6159?
It affects 1 product.
Products include Opera Opera.
How do I fix CVE-2020-6159?
No fix has been published for CVE-2020-6159 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-2020-6159 being exploited?
There is no known exploitation of CVE-2020-6159 in the wild and no public exploit code.
Other vulnerabilities in Opera for Android
Sources
Also known as GHSA-7hrc-g4hv-6p8r.