CVE-2024-54951 Cross-site scripting in n/a

Medium 5.4 Published Updated

A malicious user can trigger Cross-Site Scripting in Monica by creating a malformed contact and using it in customization options.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-54951?

CVE-2024-54951 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Feb 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Monica 4.1.2 is vulnerable to Cross Site Scripting (XSS). A malicious user can create a malformed contact and use that contact in the "HOW YOU MET" customization options to trigger the XSS.

Weakness: CWE-79

Which versions are affected by CVE-2024-54951?

It affects 1 product.

Products include Monicahq Monica.

How do I fix CVE-2024-54951?

No fix has been published for CVE-2024-54951 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-54951 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-54951 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-3cr7-mfmj-jrxj.

Is CVE-2024-54951 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free