{"id":"CVE-2023-0742","published":"2023-02-08T00:00:00Z","modified":"2025-03-25T15:02:35Z","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,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00881,"percentile":0.59994,"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/d73a2c03-7035-453b-9c04-c733ace65544","tags":[]}],"priority":{"score":17.6,"factors":[{"name":"EPSS percentile","points":12.0},{"name":"CVSS severity","points":5.6}]},"vendorSlug":"answerdev","affectedVersions":[{"vendor":"answerdev","product":"answerdev/answer","versions":[">= unspecified, < 1.0.4"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2025-03-25T14:57:28.835853Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/answerdev/answer","vulnerableRanges":["<1.0.4"],"patched":["1.0.4"],"from":["GHSA-rmw8-7823-wp7f","GO-2023-1554"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the answerdev/answer product (a GitHub repository, affecting versions prior to 1.0.4), where improperly neutralized input is rendered in generated web pages. An attacker with low-privileged authenticated access can get a victim to interact with the affected content, such as by visiting a page, causing malicious script to execute in the victim's browser and potentially compromising confidentiality, integrity and availability of their session.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:18Z"},"euvd":{"id":"EUVD-2023-0793","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-answerdev-answer-cve-2023-0740","children":[{"from":"CVE-2023-0742","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-0742","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-0742","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"]}]}]}}