CVE-2026-142257
Monica 5.0.0-beta.1 through 5.0.0-beta.5 contains a stored …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/monicahq/monica/blob/v5.0.0-beta.5/app/Domains/Contact/ManageDocuments/Services
- github.com/monicahq/monica/blob/v5.0.0-beta.5/app/Domains/Contact/ManageDocuments/Web/View
- github.com/monicahq/monica/blob/v5.0.0-beta.5/resources/js/Shared/Modules/Documents.vue#L5
- www.vulncheck.com/advisories/monica-5.0.0-beta.1-through-5.0.0-beta.5-stored-xss-via-docum
- nvd.nist.gov/vuln/detail/CVE-2026-142257
- cve.org/CVERecord?id=CVE-2026-142257
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.