CVE-2025-67342 Cross-site scripting in n/a

Medium 4.6 Published Updated

Attackers can inject malicious scripts via the menu edit endpoint, affecting all users due to shared menu data.

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-2025-67342?

CVE-2025-67342 is a medium-severity cross-site scripting vulnerability in Ruoyi Ruoyi, published on 12 Dec 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

RuoYi versions 4.8.1 and earlier is affected by a stored XSS vulnerability in the /system/menu/edit endpoint. While the endpoint is protected by an XSS filter, the protection can be bypassed. Additionally, because the menu is shared across all users, any user with menu modification permissions can impact all users by exploiting this stored XSS vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2025-67342?

It affects 1 product.

Products include Ruoyi Ruoyi.

How do I fix CVE-2025-67342?

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

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

All Ruoyi Ruoyi vulnerabilities

Sources

Also known as GHSA-3cmr-m8h4-f7xj.

Is CVE-2025-67342 in your software?

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

Check your SBOMs for free