{"answers":{"affected":"2 open source packages ship an affected version, including khodakhah/nodcms. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-20697 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2020-20697 yet. Limit exposure of the affected software until one is available.","what":"CVE-2020-20697 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Jun 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2020-20697 and fix it if it is affected.\n\nWhat it is: CVE-2020-20697 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Jun 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2020-20697 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- khodakhah/nodcms (Packagist): affected all versions up to 3.0; no fix listed\n- khodakhah/nodcms (Packagist): affected all versions up to 3.0; no fix listed\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-2020-20697/ (Markdown: https://insights.sbomify.com/CVE-2020-20697/index.md)","id":"CVE-2020-20697","markdown":"https://insights.sbomify.com/CVE-2020-20697/index.md","name":"CVE-2020-20697","record":{"aliases":["GHSA-7xqx-xwg9-jx34"],"analysis":{"component_type":"web_application","fix_type":"no_fix_stated","impacts":["code_execution","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"NodCMS","requires_auth":"high_privilege","summary":"Remote attackers can execute arbitrary code and access sensitive information via a crafted script in the address parameter of NodCMS.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"nodcms","vendor":"nodcms"}],"cvss":{"score":4.8,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:H/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":"Cross Site Scripting vulnerability in khodakhah NodCMS v.3.0 allows a remote attacker to execute arbitrary code and gain access to senstivie information via a crafted script to the address parameter.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"NodCMS Cross Site Scripting vulnerability","id":"CVE-2020-20697","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2020"},"n_packages":2,"n_references":1,"next":{"headline":"Code injection in n/a","id":"CVE-2020-20698"},"packages":[{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["3.0"],"package":"khodakhah/nodcms","purl":null,"source":"GHSA-7xqx-xwg9-jx34"},{"ecosystem":"Packagist","fixed":[],"introduced":["0"],"last_affected":["3.0"],"package":"khodakhah/nodcms","purl":"pkg:composer/khodakhah/nodcms","source":"GHSA-7xqx-xwg9-jx34"}],"prev":{"headline":"Cross-site Scripting in GilaCMS","id":"CVE-2020-20696"},"products":["n/a"],"published":"2023-06-20","related":[{"cvss_score":5.3,"headline":"Nodcms Cross Site Request Forgery via admin endpoints","id":"CVE-2016-20054","kev_date_added":null,"published":"2026-04-04"},{"cvss_score":4.3,"headline":"khodakhah NodCMS POST Request blog-comment-4 cross site scripting","id":"CVE-2023-3641","kev_date_added":null,"published":"2023-07-12"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-12-10","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code and access sensitive information via a crafted script in the address parameter of NodCMS.","url":"https://insights.sbomify.com/CVE-2020-20697/"}