{"id":"CVE-2026-142257","aliases":["EUVD-2026-141573","GHSA-rrmq-w7c4-5p64"],"status":"published","title":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 Stored XSS via Document cdn_url","description":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains a stored cross-site scripting vulnerability that allows authenticated vault editors to inject scripts by storing javascript: URLs as a contact document's cdn_url when Uploadcare storage is configured. When another vault member, including view-only members, clicks the Download link rendered by Documents.vue, the script runs in the Monica origin with that member's session.","severity":{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","level":"medium","assessor":"cna","from":"cve","others":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","from":"ghsa"}]},"epss":{"day":"2026-12-04","score":0.00378,"percentile":0.33875,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2026-12-02T16:49:43Z","modified":"2026-12-05T05:19:35Z","products":[{"vendor":"monicahq","product":"monica"}],"references":[{"url":"https://github.com/monicahq/monica/blob/v5.0.0-beta.5/app/Domains/Contact/ManageDocuments/Services/UploadFile.php#L18-L32","tags":["technical-description","article"]},{"url":"https://github.com/monicahq/monica/blob/v5.0.0-beta.5/app/Domains/Contact/ManageDocuments/Web/ViewHelpers/ModuleDocumentsViewHelper.php#L40-L45","tags":["technical-description","article"]},{"url":"https://github.com/monicahq/monica/blob/v5.0.0-beta.5/resources/js/Shared/Modules/Documents.vue#L55","tags":["technical-description","article"]},{"url":"https://www.vulncheck.com/advisories/monica-5.0.0-beta.1-through-5.0.0-beta.5-stored-xss-via-document-cdn-url","tags":["third-party-advisory","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142257","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-rrmq-w7c4-5p64"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142257.json","tags":["advisory"]},{"url":"https://github.com/monicahq/monica","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-142257","title":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 Stored XSS via Document cdn_url","description":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains a stored cross-site scripting vulnerability that allows authenticated vault editors to inject scripts by storing javascript: URLs as a contact document's cdn_url when Uploadcare storage is configured. When another vault member, including view-only members, clicks the Download link rendered by Documents.vue, the script runs in the Monica origin with that member's session.","status":"published","published":"2026-12-02T16:49:43.681Z","modified":"2026-12-05T03:09:10.246Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","level":"medium","assessor":"cna"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-05"},"updated_at":"2026-12-05T03:21:03.106156Z"}],"euvd":[{"id":"EUVD-2026-141573","description":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains a stored cross-site scripting vulnerability that allows authenticated vault editors to inject scripts by storing javascript: URLs as a contact document's cdn_url when Uploadcare storage is configured. When another vault member, including view-only members, clicks the Download link rendered by Documents.vue, the script runs in the Monica origin with that member's session.","status":"published","published":"2026-12-02T16:49:43Z","modified":"2026-12-05T03:09:10Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"updated_at":"2026-12-02T21:27:23.327078Z"}],"ghsa":[{"id":"GHSA-rrmq-w7c4-5p64","title":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains a stored cross-site scripting vulnerability...","description":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains a stored cross-site scripting vulnerability that allows authenticated vault editors to inject scripts by storing javascript: URLs as a contact document's cdn_url when Uploadcare storage is configured. When another vault member, including view-only members, clicks the Download link rendered by Documents.vue, the script runs in the Monica origin with that member's session.","status":"published","published":"2026-12-02T18:31:49Z","modified":"2026-12-02T18:31:54Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-12-02T18:38:44.755025Z"}],"nvd":[{"id":"CVE-2026-142257","description":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains a stored cross-site scripting vulnerability that allows authenticated vault editors to inject scripts by storing javascript: URLs as a contact document's cdn_url when Uploadcare storage is configured. When another vault member, including view-only members, clicks the Download link rendered by Documents.vue, the script runs in the Monica origin with that member's session.","status":"published","published":"2026-12-02T17:17:52.533Z","modified":"2026-12-05T05:19:35.313Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial","date":"2026-12-05"},"updated_at":"2026-12-05T05:22:46.281266Z"}],"osv":[{"id":"CVE-2026-142257","title":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 Stored XSS via Document cdn_url","description":"Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains a stored cross-site scripting vulnerability that allows authenticated vault editors to inject scripts by storing javascript: URLs as a contact document's cdn_url when Uploadcare storage is configured. When another vault member, including view-only members, clicks the Download link rendered by Documents.vue, the script runs in the Monica origin with that member's session.","status":"published","published":"2026-12-02T16:49:43.681Z","modified":"2026-12-05T04:46:06.346364546Z","cvss":[{"version":"4.0","score":5.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-12-03T21:10:05.302032Z"}]}}
