CVE-2014-125098 Dart http_server Directory Listing virtual_directory.dart VirtualDirectory cross site scripting
Remote attackers can execute arbitrary scripts via cross-site scripting in the Dart http_server library's directory listing handler.
- 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-2014-125098?
CVE-2014-125098 is a medium-severity cross-site scripting vulnerability in Dart http_server, published on 10 Apr 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
A vulnerability was found in Dart http_server up to 0.9.5 and classified as problematic. Affected by this issue is the function VirtualDirectory of the file lib/src/virtual_directory.dart of the component Directory Listing Handler. The manipulation of the argument request.uri.path leads to cross site scripting. The attack may be launched remotely. Upgrading to version 0.9.6 is able to address this issue. The name of the patch is 27c1cbd8125bb0369e675eb72e48218496e48ffb. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-225356.
Weakness: CWE-79
Which versions are affected by CVE-2014-125098?
It affects 1 product.
Products include Dart Http Server.
How do I fix CVE-2014-125098?
No fix has been published for CVE-2014-125098 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-2014-125098 being exploited?
There is no known exploitation of CVE-2014-125098 in the wild and no public exploit code.
Sources
Also known as GHSA-3vf7-gh27-gx55.