{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-2040 exists.","fix":"No fix has been published for CVE-2004-2040 yet. Limit exposure of the affected software until one is available.","what":"CVE-2004-2040 is a medium-severity cross-site scripting vulnerability in E107 E107, published on 10 May 2005. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2004-2040 and fix it if it is affected.\n\nWhat it is: CVE-2004-2040 is a medium-severity cross-site scripting vulnerability in E107 E107, published on 10 May 2005. Any signed-in user can exploit it over the network, 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-2040 exists.\n\nAffected product: E107 E107. 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-2040/ (Markdown: https://insights.sbomify.com/CVE-2004-2040/index.md)","id":"CVE-2004-2040","markdown":"https://insights.sbomify.com/CVE-2004-2040/index.md","name":"CVE-2004-2040","record":{"aliases":["GHSA-5c66-f238-vw8j"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"e107 CMS","requires_auth":"low_privilege","summary":"Remote attackers can inject arbitrary web script or HTML via multiple parameters in e107, potentially compromising user sessions.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"e107","vendor":"e107"}],"cvss":{"score":4.3,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","version":"2.0"},"cwes":[],"description":"Multiple cross-site scripting (XSS) vulnerabilities in e107 0.615 allow remote attackers to inject arbitrary web script or HTML via the (1) LAN_407 parameter to clock_menu.php, (2) \"email article to a friend\" field, (3) \"submit news\" field, or (4) avmsg parameter to usersettings.php.","ecosystems":[],"exploits":{"exploitdb":2,"first_seen":"2004-05-29","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2004-05-29","kind":"exploitdb","ref":"24153","stars":null,"title":"e107 website system 0.6 - 'usersettings.php?avmsg' Cross-Site Scripting"},{"date":"2004-05-29","kind":"exploitdb","ref":"24154","stars":null,"title":"e107 website system 0.6 - 'email article to a friend' Feature Cross-Site Scripting"}],"tier":"weaponised"},"has_fix":null,"headline":"Cross-site scripting in n/a","id":"CVE-2004-2040","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"e107:e107","products":["e107:e107"],"type":"xss","year":"2004"},"n_packages":0,"n_references":12,"next":{"headline":"Code injection in n/a","id":"CVE-2004-2041"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2004-2039"},"products":["n/a"],"published":"2005-05-10","related":[{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2021-27885","kev_date_added":null,"published":"2021-03-02"},{"cvss_score":8.8,"headline":"Deserialization in n/a","id":"CVE-2016-10753","kev_date_added":null,"published":"2019-05-24"},{"cvss_score":8.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2018-15901","kev_date_added":null,"published":"2018-08-28"},{"cvss_score":8.7,"headline":"e107 CMS v3.2.1 - Upload restriction bypass (Authenticated [Admin])+ Server file override","id":"CVE-2022-50916","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.6,"headline":"e107 CMS v3.2.1 - Admin Upload Restriction Bypass + RCE","id":"CVE-2022-50907","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":8.6,"headline":"e107 CMS v3.2.1 - Upload Restriction Bypass with Path Traversal File Override","id":"CVE-2022-50939","kev_date_added":null,"published":"2026-01-13"},{"cvss_score":7.5,"headline":"Code injection in n/a","id":"CVE-2011-1513","kev_date_added":null,"published":"2011-11-04"}],"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":"Remote attackers can inject arbitrary web script or HTML via multiple parameters in e107, potentially compromising user sessions.","url":"https://insights.sbomify.com/CVE-2004-2040/"}