{"answers":{"affected":"It affects 8 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0595 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2004-0595 is a medium-severity cross-site scripting vulnerability in Php Php, published on 16 Jul 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2004-0595 and fix it if it is affected.\n\nWhat it is: CVE-2004-0595 is a medium-severity cross-site scripting vulnerability in Php Php, published on 16 Jul 2004. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0595 exists.\n\nAffected product: Php Php. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2004-0595/ (Markdown: https://insights.sbomify.com/CVE-2004-0595/index.md)","id":"CVE-2004-0595","markdown":"https://insights.sbomify.com/CVE-2004-0595/index.md","name":"CVE-2004-0595","record":{"aliases":["GHSA-h8wj-59vf-r37g"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"PHP scripting language","requires_auth":"none","summary":"Attackers can bypass strip_tags filtering using null characters to inject malicious scripts, enabling cross-site scripting attacks against web applications.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"converged_communications_server","vendor":"avaya"},{"product":"integrated_management","vendor":"avaya"},{"product":"s8300","vendor":"avaya"},{"product":"s8500","vendor":"avaya"},{"product":"s8700","vendor":"avaya"},{"product":"php","vendor":"php"},{"product":"fedora_core","vendor":"redhat"},{"product":"secure_linux","vendor":"trustix"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"The strip_tags function in PHP 4.x up to 4.3.7, and 5.x up to 5.0.0RC3, does not filter null (\\0) characters within tag names when restricting input to allowed tags, which allows dangerous tags to be processed by web browsers such as Internet Explorer and Safari, which ignore null characters and facilitate the exploitation of cross-site scripting (XSS) vulnerabilities.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2004-07-14","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-07-14","kind":"exploitdb","ref":"24280","stars":null,"title":"PHP 4.x/5.0 - 'Strip_Tags()' Function Bypass"}],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site scripting in n/a","id":"CVE-2004-0595","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"php:php","products":["php:php","redhat:fedora_core","trustix:secure_linux"],"type":"xss","year":"2004"},"n_packages":0,"n_references":18,"next":{"headline":"Null dereference in n/a","id":"CVE-2004-0596"},"packages":[],"prev":{"headline":"Race condition in n/a","id":"CVE-2004-0594"},"products":["n/a"],"published":"2004-07-16","related":[{"cvss_score":7.2,"headline":"Privilege escalation in n/a","id":"CVE-2004-0495","kev_date_added":null,"published":"2004-06-23"},{"cvss_score":6.2,"headline":"Race condition in n/a","id":"CVE-2004-1235","kev_date_added":null,"published":"2005-01-20"},{"cvss_score":5.1,"headline":"Race condition in n/a","id":"CVE-2004-0594","kev_date_added":null,"published":"2004-07-16"},{"cvss_score":2.1,"headline":"Memory corruption in n/a","id":"CVE-2005-0003","kev_date_added":null,"published":"2005-01-20"},{"cvss_score":2.1,"headline":"Denial of service in n/a","id":"CVE-2004-0554","kev_date_added":null,"published":"2004-06-15"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-08","vendors":["n/a"]},"summary":"Attackers can bypass strip_tags filtering using null characters to inject malicious scripts, enabling cross-site scripting attacks against web applications.","url":"https://insights.sbomify.com/CVE-2004-0595/"}