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

Medium 6.1 Published Updated

Attackers can inject malicious JavaScript via crafted URLs in Webmin's HTTP Tunnel, executing code in victims' browsers.

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

CVE-2023-38308 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 Cross-Site Scripting (XSS) vulnerability was discovered in the HTTP Tunnel functionality when handling third-party domain URLs. By providing a crafted URL from a third-party domain, an attacker can inject malicious code. 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-38308?

It affects 1 product.

Products include Webmin Webmin.

How do I fix CVE-2023-38308?

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

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

All Webmin Webmin vulnerabilities

Sources

Also known as GHSA-mw86-9j6v-q4x7.

Is CVE-2023-38308 in your software?

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

Check your SBOMs for free