Cross-Site Scripting Vulnerability in IPCalc Package

ipcalc Updated 02 Oct 2025

Summary

25/07/2006
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2006-3848: Cross-site scripting (XSS) vulnerability in CGI wrapper for IP Calculator (IPCalc) 0.40 allows remote attackers to inject arbitrary web script or HTML via the URI (REQUEST_URI environment variable), which is used in the... Affects ipcalc versions < 0.41-1. Fixed in 0.41-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

IPCalc is a tool used for calculating IP addresses and subnets. It is widely utilized in network management and configuration tasks. The package provides a CGI wrapper that allows users to interact with it via a web interface. However, it has been found to be vulnerable to a Cross-Site Scripting (XSS) attack, which can compromise the security of web applications using this tool.

Vulnerability Detail

The vulnerability identified as DEBIAN-CVE-2006-3848 is a Cross-Site Scripting (XSS) flaw in the CGI wrapper for IPCalc version 0.40. This vulnerability allows remote attackers to inject arbitrary web scripts or HTML into the application through the URI, specifically via the REQUEST_URI environment variable. The implications of this vulnerability can lead to unauthorized access, data theft, or manipulation of user sessions, making it critical for users to address it promptly.

How To Fix

Minimum fixed version

0.41-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ipcalc

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

Workaround

As a temporary workaround, users can restrict access to the IPCalc CGI wrapper by implementing proper web server configurations or using firewall rules to limit access to trusted IP addresses only. This can help mitigate the risk of exploitation until the package is updated.

Conclusion

The Cross-Site Scripting vulnerability in IPCalc poses a significant risk to users relying on this package for network management. It is essential to update to the latest version to mitigate potential threats. Users should also consider implementing workarounds to enhance security until the update can be applied.

See every vulnerability recorded for ipcalc →

Share this vulnerability

FAQ

IPCalc is a network utility that helps in calculating IP addresses and subnets, providing a web interface for ease of use.

The XSS vulnerability allows attackers to inject malicious scripts into web pages viewed by users, potentially leading to data theft or session hijacking.

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

If an immediate update is not possible, consider implementing access restrictions to the IPCalc CGI wrapper as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for ipcalc.

How To Fix

Minimum fixed version

0.41-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade ipcalc

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