Cross-Site Scripting Vulnerability in Namazu2 Package

namazu2 Updated 02 Oct 2025

Summary

06/01/2005
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2004-1318: 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 th... Affects namazu2 versions < 2.0.14-1. Fixed in 2.0.14-1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Namazu2 is a full-text search engine designed for web applications, allowing users to search through documents and data efficiently. It is widely used in various Debian distributions for its simplicity and effectiveness. However, versions 2.0.13 and earlier are vulnerable to a cross-site scripting (XSS) issue that can be exploited by attackers.

Vulnerability Detail

The vulnerability arises from improper sanitization of user input in the namazu.cgi script. Specifically, when a query begins with a tab character ('%09'), the script fails to sanitize the remainder of the input, allowing attackers to inject arbitrary HTML and web scripts. This can lead to unauthorized actions being performed on behalf of users, data theft, or defacement of web pages. The vulnerability is classified as CVE-2004-1318 and affects all versions prior to 2.0.14.

How To Fix

Minimum fixed version

2.0.14-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade namazu2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can implement input validation on the client-side to prevent the submission of queries that start with a tab character. However, this does not replace the need for an official patch.

Conclusion

The cross-site scripting vulnerability in Namazu2 poses significant risks to users and applications utilizing this package. It is crucial to update to the latest version to ensure security. Additionally, users can leverage tools like Vulert to monitor and alert for open-source vulnerabilities in their software.

See every vulnerability recorded for namazu2 →

Share this vulnerability

FAQ

The vulnerability is a cross-site scripting (XSS) issue that allows attackers to inject malicious scripts via specially crafted queries.

Versions 2.0.13 and earlier are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized actions, data theft, and defacement of web pages.

Yes, updating to version 2.0.14-1 or later of the Namazu2 package provides a permanent fix for this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for namazu2.

How To Fix

Minimum fixed version

2.0.14-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade namazu2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.