CVE-2021-4273 studygolang search.go Search cross site scripting
Remote attackers can execute arbitrary scripts via the search query parameter in studygolang, potentially leading to session hijacking or data theft.
- 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-2021-4273?
CVE-2021-4273 is a medium-severity cross-site scripting vulnerability in unspecified studygolang, published on 21 Dec 2022. 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
A vulnerability classified as problematic was found in studygolang. This vulnerability affects the function Search of the file http/controller/search.go. The manipulation of the argument q leads to cross site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The name of the patch is 97ba556d42fa89dfaa7737e9cd3a8ddaf670bb23. It is recommended to apply a patch to fix this issue. VDB-216478 is the identifier assigned to this vulnerability.
Which versions are affected by CVE-2021-4273?
It affects 1 product.
Products include Studygolang Studygolang.
How do I fix CVE-2021-4273?
No fix has been published for CVE-2021-4273 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-4273 being exploited?
There is no known exploitation of CVE-2021-4273 in the wild and no public exploit code.
Other vulnerabilities in unspecified studygolang
Sources
Also known as GHSA-h3rc-wrmf-3v4p.