{"answers":{"affected":"10 open source packages ship an affected version, including fat_free_crm. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1000842 in the wild and no public exploit code.","fix":"Upgrade fat_free_crm to a fixed version for your release line: 0.14.2, 0.15.2, 0.16.4 or 0.17.3.","what":"CVE-2018-1000842 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Dec 2018. 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-2018-1000842 and fix it if it is affected.\n\nWhat it is: CVE-2018-1000842 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Dec 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2018-1000842 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- fat_free_crm (RubyGems): affected all versions; fixed in 0.14.2\n- fat_free_crm (RubyGems): affected all versions; fixed in 0.14.2\n- fat_free_crm (RubyGems): affected from 0.15.0; fixed in 0.15.2\n- fat_free_crm (RubyGems): affected from 0.15.0; fixed in 0.15.2\n- fat_free_crm (RubyGems): affected from 0.16.0; fixed in 0.16.4\n- fat_free_crm (RubyGems): affected from 0.16.0; fixed in 0.16.4\n- fat_free_crm (RubyGems): affected from 0.17.0; fixed in 0.17.3\n- fat_free_crm (RubyGems): affected from 0.17.0; fixed in 0.17.3\n- fat_free_crm (RubyGems): affected from 0.18.0; fixed in 0.18.1\n- fat_free_crm (RubyGems): affected from 0.18.0; fixed in 0.18.1\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-2018-1000842/ (Markdown: https://insights.sbomify.com/CVE-2018-1000842/index.md)","id":"CVE-2018-1000842","markdown":"https://insights.sbomify.com/CVE-2018-1000842/index.md","name":"CVE-2018-1000842","record":{"aliases":["GHSA-j5rj-g695-342r"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"FatFreeCRM","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript in user browsers via XSS in FatFreeCRM, potentially leading to session hijacking or data theft.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"fatfreecrm","vendor":"fatfreecrm"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"FatFreeCRM version \u003c=0.14.1, \u003e=0.15.0 \u003c=0.15.1, \u003e=0.16.0 \u003c=0.16.3, \u003e=0.17.0 \u003c=0.17.2, ==0.18.0 contains a Cross Site Scripting (XSS) vulnerability in commit 6d60bc8ed010c4eda05d6645c64849f415f68d65 that can result in Javascript execution. This attack appear to be exploitable via Content with Javascript payload will be executed on end user browsers when they visit the page. This vulnerability appears to have been fixed in 0.18.1, 0.17.3, 0.16.4, 0.15.2, 0.14.2.","ecosystems":["RubyGems"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Fat Free CRM vulnerable to Cross-site Scripting","id":"CVE-2018-1000842","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"RubyGems","product":null,"products":[],"type":"xss","year":"2018"},"n_packages":10,"n_references":4,"next":{"headline":"Cross-Site Request Forgery (CSRF) in Luigi","id":"CVE-2018-1000843"},"packages":[{"ecosystem":"RubyGems","fixed":["0.14.2"],"introduced":["0"],"last_affected":[],"package":"fat_free_crm","purl":null,"source":"GHSA-j5rj-g695-342r"},{"ecosystem":"RubyGems","fixed":["0.14.2"],"introduced":["0"],"last_affected":[],"package":"fat_free_crm","purl":"pkg:gem/fat_free_crm","source":"GHSA-j5rj-g695-342r"},{"ecosystem":"RubyGems","fixed":["0.15.2"],"introduced":["0.15.0"],"last_affected":[],"package":"fat_free_crm","purl":null,"source":"GHSA-j5rj-g695-342r"},{"ecosystem":"RubyGems","fixed":["0.15.2"],"introduced":["0.15.0"],"last_affected":[],"package":"fat_free_crm","purl":"pkg:gem/fat_free_crm","source":"GHSA-j5rj-g695-342r"},{"ecosystem":"RubyGems","fixed":["0.16.4"],"introduced":["0.16.0"],"last_affected":[],"package":"fat_free_crm","purl":null,"source":"GHSA-j5rj-g695-342r"},{"ecosystem":"RubyGems","fixed":["0.16.4"],"introduced":["0.16.0"],"last_affected":[],"package":"fat_free_crm","purl":"pkg:gem/fat_free_crm","source":"GHSA-j5rj-g695-342r"},{"ecosystem":"RubyGems","fixed":["0.17.3"],"introduced":["0.17.0"],"last_affected":[],"package":"fat_free_crm","purl":null,"source":"GHSA-j5rj-g695-342r"},{"ecosystem":"RubyGems","fixed":["0.17.3"],"introduced":["0.17.0"],"last_affected":[],"package":"fat_free_crm","purl":"pkg:gem/fat_free_crm","source":"GHSA-j5rj-g695-342r"},{"ecosystem":"RubyGems","fixed":["0.18.1"],"introduced":["0.18.0"],"last_affected":[],"package":"fat_free_crm","purl":null,"source":"GHSA-j5rj-g695-342r"},{"ecosystem":"RubyGems","fixed":["0.18.1"],"introduced":["0.18.0"],"last_affected":[],"package":"fat_free_crm","purl":"pkg:gem/fat_free_crm","source":"GHSA-j5rj-g695-342r"}],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2018-1000841"},"products":["n/a"],"published":"2018-12-20","related":[{"cvss_score":6.5,"headline":"Remote Denial of Service via Tasks endpoint in fat_free_crm","id":"CVE-2022-39281","kev_date_added":null,"published":"2022-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-16","vendors":["n/a"]},"summary":"Attackers can execute arbitrary JavaScript in user browsers via XSS in FatFreeCRM, potentially leading to session hijacking or data theft.","url":"https://insights.sbomify.com/CVE-2018-1000842/"}