CVE-2004-1746: PHP Code Snippet Library - Reflected XSS
- Cve: CVE-2004-1746
- Name: PHP Code Snippet Library - Reflected XSS
- Description: Cross-site scripting (XSS) vulnerability in index.php in PHP Code Snippet Library allows remote attackers to inject arbitrary web script or HTML via the (1) cat_select or (2) show parameters.
- Impact: Attackers can execute arbitrary scripts in the victim's browser, leading to session hijacking or defacement.
- Remediation: Implement proper input validation and output encoding for 'cat_select' and 'show' parameters.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs to send crafted parameters to the server
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.3
- Cvss vector: CVSS:2.0/AV:N/AC:M/Au:N/C:N/I:P/A:N
- Epss score: 0.03596
- Epss percentile: 0.89736
- Assignee: [email protected]
- Published at: 2004-12-31T05:00:00Z
- Age in days: 7998
- Modified at: 2026-06-16T22:08:19Z
- Public exploits total: 1
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2004-1746
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| NVD-CWE-Other | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://www.securityfocus.com/bid/11038 | nvd | 2004-12-31 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| php_code_snippet_library:php_code_snippet_library | = 0.8 | no | nvd | /v1/products/php_code_snippet_library/php_code_snippet_library |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2004-12-31
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts