CVE-2023-38305 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can inject arbitrary code via a crafted download path in Webmin, leading to script execution in the victim's browser.

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-38305?

CVE-2023-38305 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. The download functionality allows an attacker to exploit a Cross-Site Scripting (XSS) vulnerability. By providing a crafted download path containing a malicious payload, an attacker can inject arbitrary code, which is then executed within the context of the victim's browser when the download link is accessed.

Weakness: CWE-79

Which versions are affected by CVE-2023-38305?

It affects 1 product.

Products include Webmin Webmin.

How do I fix CVE-2023-38305?

No fix has been published for CVE-2023-38305 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-38305 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38305 exists.

All Webmin Webmin vulnerabilities

Sources

Also known as GHSA-p32v-wxmw-472h.

Is CVE-2023-38305 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free