---
id: CVE-2025-67342
title: >-
  RuoYi versions 4.8.1 and earlier is affected by a stored XSS vulnerability in
  the /system/menu/edit endpoint
summary: >-
  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 acro…
severity: medium
cvss: 4.6
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: ruoyi
product: ruoyi
affected:
  - ruoyi <= 4.8.1
published: '2025-12-12'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:10:00.190'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-67342'
references:
  - url: 'https://github.com/yangzongzhuan/RuoYi/issues/308'
    label: cve@mitre.org
tags:
  - nvd
epss: 0.00177
epssPercentile: 0.06817
ingestedAt: '2026-10-14T20:53:12.287Z'
---

## Overview

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.

## Affected

- `ruoyi <= 4.8.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
