{"id":"CVE-2023-0740","published":"2023-02-08T00:00:00Z","modified":"2025-03-25T15:17:26Z","title":"Cross-site Scripting (XSS) - Stored in answerdev/answer","vendor":"answerdev","product":"answerdev/answer","tier":"tail","description":{"text":"Cross-site Scripting (XSS) - Stored in GitHub repository answerdev/answer prior to 1.0.4.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00721,"percentile":0.54877,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/answerdev/answer/commit/c3001de52af91f09c96e701facbce0b9fa0c98ad","tags":[]},{"url":"https://huntr.dev/bounties/802ee76d-fe01-482b-a9a4-34699a7c9110","tags":[]}],"priority":{"score":16.7,"factors":[{"name":"EPSS percentile","points":10.98},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"answerdev","affectedVersions":[{"vendor":"answerdev","product":"answerdev/answer","versions":[">= unspecified, < 1.0.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-03-25T15:13:52.851946Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/answerdev/answer","vulnerableRanges":["<1.0.4"],"patched":["1.0.4"],"from":["GHSA-65px-4cpf-697r","GO-2023-1541"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the answerdev/answer product from answerdev, in the web application's handling of user-supplied content that is saved and later rendered to other users. An attacker with low-privileged access to the application can plant malicious script that executes in the browsers of other users, and exploitation requires that a user interact with the crafted content, such as by viewing the affected page.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:57:23Z"},"euvd":{"id":"EUVD-2023-0636","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-answerdev-answer-cve-2023-0740","children":[{"from":"CVE-2023-0740","to":"CVE-2023-0743","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/base/middleware/avatar.go"],"commits":["https://github.com/answerdev/answer/commit/c3001de52af91f09c96e701facbce0b9fa0c98ad","https://github.com/answerdev/answer/commit/860b1a3bd8cfaa8827e6e6f50ab1d98fa4c2c816"],"basis":"shared function","functions":["AvatarThumb"]}]},{"from":"CVE-2023-0740","to":"CVE-2023-1974","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/service/uploader/upload.go"],"commits":["https://github.com/answerdev/answer/commit/c3001de52af91f09c96e701facbce0b9fa0c98ad","https://github.com/answerdev/answer/commit/ac3f2f047ee00b4edaea7530e570ab67ff87cd6a"],"basis":"shared function","functions":["uploadFile"]}]},{"from":"CVE-2023-0740","to":"CVE-2023-1975","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["internal/service/uploader/upload.go"],"commits":["https://github.com/answerdev/answer/commit/c3001de52af91f09c96e701facbce0b9fa0c98ad","https://github.com/answerdev/answer/commit/ac3f2f047ee00b4edaea7530e570ab67ff87cd6a"],"basis":"shared function","functions":["uploadFile"]}]}]}}