CVE-2025-6977 Cross-site scripting in ProfileGrid – User Profiles, Groups and Communities

Medium 6.1 Published Updated

Unauthenticated attackers can inject arbitrary scripts via a crafted link, potentially compromising logged-in users of the ProfileGrid WordPress plugin.

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

What is CVE-2025-6977?

CVE-2025-6977 is a medium-severity cross-site scripting vulnerability in metagauss ProfileGrid – User Profiles, Groups and Communities, published on 16 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The ProfileGrid – User Profiles, Groups and Communities plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘pm_get_messenger_notification’ function in all versions up to, and including, 5.9.5.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a logged-in user into performing an action such as clicking on a link.

Weakness: CWE-79

Which versions are affected by CVE-2025-6977?

It affects 1 product.

Products include Metagauss Profilegrid.

How do I fix CVE-2025-6977?

No fix has been published for CVE-2025-6977 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-2025-6977 being exploited?

There is no known exploitation of CVE-2025-6977 in the wild and no public exploit code.

Sources

Also known as GHSA-q46q-h5wj-c8cp.

Is CVE-2025-6977 in your software?

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

Check your SBOMs for free