{"id":"CVE-2023-5842","published":"2023-10-30T00:00:21Z","modified":"2024-09-06T18:11:31Z","title":"Cross-site Scripting (XSS) - Stored in dolibarr/dolibarr","vendor":"dolibarr","product":"dolibarr/dolibarr","tier":"tail","description":{"text":"Cross-site Scripting (XSS) - Stored in GitHub repository dolibarr/dolibarr prior to 16.0.5.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00536,"percentile":0.46105,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://huntr.com/bounties/aed81114-5952-46f5-ae3a-e66518e98ba3","tags":[]},{"url":"https://github.com/dolibarr/dolibarr/commit/f569048eb2bd823525bce4ef52316e7a83e3345c","tags":[]}],"priority":{"score":12.6,"factors":[{"name":"EPSS percentile","points":9.22},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"dolibarr","affectedVersions":[{"vendor":"dolibarr","product":"dolibarr/dolibarr","versions":[">= unspecified, < 16.0.5"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-06T17:50:34.685068Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"dolibarr/dolibarr","vulnerableRanges":["<16.0.5"],"patched":["16.0.5"],"from":["GHSA-9pjf-jw9q-fx49"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw exists in the dolibarr/dolibarr repository (the Dolibarr product) in versions prior to 16.0.5, where input is not properly neutralized before being rendered in generated web pages. An attacker with high-privilege authenticated access can plant script that executes in other users' browsers, which requires user interaction and can affect confidentiality and integrity across a scope change, while availability is not affected.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:08Z"},"euvd":{"id":"EUVD-2023-2712","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-dolibarr-dolibarr-cve-2023-5323","parents":[{"from":"CVE-2023-5323","to":"CVE-2023-5842","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["htdocs/main.inc.php"],"commits":["https://github.com/dolibarr/dolibarr/commit/695ca086847b3b6a185afa93e897972c93c43d15","https://github.com/dolibarr/dolibarr/commit/f569048eb2bd823525bce4ef52316e7a83e3345c"],"basis":"shared function","functions":["testSqlAndScriptInject"]},{"kind":"similar","provenance":"machine","score":0.76,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2022-2060","published":"2022-06-13","fixed":"16.0","kev":false},{"cve":"CVE-2022-4093","published":"2022-11-21","fixed":"16.0.3","kev":false,"link":{"from":"CVE-2022-4093","to":"CVE-2023-5842","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:dolibarr/dolibarr","fromFixed":"16.0.3","toFixed":"16.0.5","daysApart":343}]}},{"cve":"CVE-2023-33568","published":"2023-06-13","fixed":"16.0.5","kev":false},{"cve":"CVE-2023-5842","published":"2023-10-30","fixed":"16.0.5","kev":false},{"cve":"CVE-2023-30253","published":"2023-05-29","fixed":"17.0.1","kev":false},{"cve":"CVE-2023-38886","published":"2023-09-20","fixed":"17.0.1","kev":false},{"cve":"CVE-2023-38887","published":"2023-09-20","fixed":"17.0.1","kev":false}],"package":"Packagist:dolibarr/dolibarr"}}