CVE-2024-55918 Cross-site scripting in n/a

Medium 5.3 Published Updated

An attacker can inject HTML via file ambiguity in the Perl Graphics::ColorNames package, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-55918?

CVE-2024-55918 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Dec 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in the Graphics::ColorNames package before 3.2.0 for Perl. There is an ambiguity between modules and filenames that can lead to HTML injection by an attacker who can create a file in the current working directory.

Weakness: CWE-94

Which versions are affected by CVE-2024-55918?

How do I fix CVE-2024-55918?

Upgrade to a fixed version.

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-2024-55918 being exploited?

There is no known exploitation of CVE-2024-55918 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2024-55918, GHSA-p299-jc9j-rfc4, UBUNTU-CVE-2024-55918.

Is CVE-2024-55918 in your software?

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

Check your SBOMs for free