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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- 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
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.