GHSA-rrmq-w7c4-5p64MediumCVSS 5.4
Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains a stored cross-site scripting vulnerability...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (6)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142257
- https://github.com/monicahq/monica/blob/v5.0.0-beta.5/app/Domains/Contact/ManageDocuments/Services/UploadFile.php#L18-L32
- https://github.com/monicahq/monica/blob/v5.0.0-beta.5/app/Domains/Contact/ManageDocuments/Web/ViewHelpers/ModuleDocumentsViewHelper.php#L40-L45
- https://github.com/monicahq/monica/blob/v5.0.0-beta.5/resources/js/Shared/Modules/Documents.vue#L55
- https://www.vulncheck.com/advisories/monica-5.0.0-beta.1-through-5.0.0-beta.5-stored-xss-via-document-cdn-url
- https://github.com/advisories/GHSA-rrmq-w7c4-5p64