CVE-2004-1318 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary HTML and scripts into Namazu search results via crafted queries, requiring user interaction to execute.

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
Available

What is CVE-2004-1318?

CVE-2004-1318 is a medium-severity cross-site scripting vulnerability in n/a, published on 6 Jan 2005. 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

Cross-site scripting (XSS) vulnerability in namazu.cgi for Namazu 2.0.13 and earlier allows remote attackers to inject arbitrary HTML and web script via a query that starts with a tab ("%09") character, which prevents the rest of the query from being properly sanitized.

Which versions are affected by CVE-2004-1318?

It affects 1 product.

Products include Namazu Namazu.

How do I fix CVE-2004-1318?

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-2004-1318 being exploited?

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

Sources

Also known as DEBIAN-CVE-2004-1318, DSA-627-1, GHSA-4vp2-cmfq-525r.

Is CVE-2004-1318 in your software?

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

Check your SBOMs for free