{"answers":{"affected":"3 open source packages ship an affected version, including github.com/answerdev/answer. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-1245 exists.","fix":"Upgrade github.com/answerdev/answer to 1.0.6 or later.","what":"CVE-2023-1245 is a low-severity cross-site scripting vulnerability in answerdev/answer, published on 7 Mar 2023. 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-2023-1245 and fix it if it is affected.\n\nWhat it is: CVE-2023-1245 is a low-severity cross-site scripting vulnerability in answerdev/answer, published on 7 Mar 2023. 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-2023-1245 exists.\n\nAffected packages and fixed versions:\n- github.com/answerdev/answer (Go): affected all versions; fixed in 1.0.6\n- github.com/answerdev/answer (Go): affected all versions; fixed in 1.0.6\n- github.com/answerdev/answer (Go): affected all versions; fixed in 1.0.6\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-2023-1245/ (Markdown: https://insights.sbomify.com/CVE-2023-1245/index.md)","id":"CVE-2023-1245","markdown":"https://insights.sbomify.com/CVE-2023-1245/index.md","name":"CVE-2023-1245","record":{"aliases":["GHSA-6c32-3x46-m9rh","GO-2023-1612"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Answer Q\u0026A platform","requires_auth":"low_privilege","summary":"Stored Cross-Site Scripting in Answer allows attackers to inject malicious scripts, potentially leading to code execution or account takeover.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"@huntrdev","cpe":[{"product":"answer","vendor":"answer"}],"cvss":{"score":3.5,"severity":"low","source":"cna","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N","version":"3.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Cross-site Scripting (XSS) - Stored in GitHub repository answerdev/answer prior to 1.0.6.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Cross-site Scripting (XSS) - Stored in answerdev/answer","id":"CVE-2023-1245","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"xss","year":"2023"},"n_packages":3,"n_references":2,"next":{"headline":"Files or Directories Accessible to External Parties in Saysis Starcities","id":"CVE-2023-1246"},"packages":[{"ecosystem":"Go","fixed":["1.0.6"],"introduced":["0"],"last_affected":[],"package":"github.com/answerdev/answer","purl":null,"source":"GHSA-6c32-3x46-m9rh"},{"ecosystem":"Go","fixed":["1.0.6"],"introduced":["0"],"last_affected":[],"package":"github.com/answerdev/answer","purl":"pkg:golang/github.com/answerdev/answer","source":"GHSA-6c32-3x46-m9rh"},{"ecosystem":"Go","fixed":["1.0.6"],"introduced":["0"],"last_affected":[],"package":"github.com/answerdev/answer","purl":"pkg:golang/github.com/answerdev/answer","source":"GO-2023-1612"}],"prev":{"headline":"Cross-site Scripting (XSS) - Stored in answerdev/answer","id":"CVE-2023-1244"},"products":["answerdev/answer"],"published":"2023-03-07","related":[{"cvss_score":9.8,"headline":"Improper Access Control in answerdev/answer","id":"CVE-2023-0744","kev_date_added":null,"published":"2023-02-08"},{"cvss_score":9.3,"headline":"Cross-site Scripting (XSS) - Stored in answerdev/answer","id":"CVE-2023-1244","kev_date_added":null,"published":"2023-03-07"},{"cvss_score":8.8,"headline":"Weak Password Requirements in answerdev/answer","id":"CVE-2023-4125","kev_date_added":null,"published":"2023-08-03"},{"cvss_score":8.8,"headline":"Cross-site Scripting (XSS) - Stored in answerdev/answer","id":"CVE-2023-1241","kev_date_added":null,"published":"2023-03-07"},{"cvss_score":8.3,"headline":"Missing Authentication for Critical Function in answerdev/answer","id":"CVE-2023-4815","kev_date_added":null,"published":"2023-09-07"},{"cvss_score":8.3,"headline":"Cross-site Scripting (XSS) - Stored in answerdev/answer","id":"CVE-2023-1535","kev_date_added":null,"published":"2023-03-21"},{"cvss_score":8.2,"headline":"Cross-site Scripting (XSS) - Stored in answerdev/answer","id":"CVE-2023-0740","kev_date_added":null,"published":"2023-02-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":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"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":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-06","vendors":["answerdev"]},"summary":"Stored Cross-Site Scripting in Answer allows attackers to inject malicious scripts, potentially leading to code execution or account takeover.","url":"https://insights.sbomify.com/CVE-2023-1245/"}