CVE-2023-38309 Cross-site scripting in n/a
An attacker can inject malicious JavaScript into the package search field, executing code in the victim's browser session.
- 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-2023-38309?
CVE-2023-38309 is a medium-severity cross-site scripting vulnerability in Webmin Webmin, published on 31 Jul 2023. 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
An issue was discovered in Webmin 2.021. A Reflected Cross-Site Scripting (XSS) vulnerability was discovered in the package search functionality. The vulnerability allows an attacker to inject a malicious payload in the "Search for Package" field, which gets reflected back in the application's response, leading to the execution of arbitrary JavaScript code within the context of the victim's browser.
Weakness: CWE-79
Which versions are affected by CVE-2023-38309?
It affects 1 product.
Products include Webmin Webmin.
How do I fix CVE-2023-38309?
No fix has been published for CVE-2023-38309 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-2023-38309 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38309 exists.
Other vulnerabilities in Webmin Webmin
Sources
Also known as GHSA-wqmw-cmc2-6cf5.