LOWCVE-2025-8847CVSS 3.5

yangzongzhuan RuoYi 编辑跨站脚本漏洞

平台

php

组件

ruoyi

修复版本

4.8.1

4.8.2

AI Confidence: highNVDEPSS 0.0%已审阅: 2026年5月
正在翻译为您的语言…

CVE-2025-8847 describes a cross-site scripting (XSS) vulnerability affecting RuoYi versions 4.8.0 through 4.8.1. This vulnerability allows attackers to inject malicious scripts into the application, potentially leading to session hijacking or defacement. The issue resides within the /system/notice/edit endpoint, specifically in the handling of the noticeTitle and noticeContent parameters. A patch is available in version 4.8.2.

影响与攻击场景翻译中…

Successful exploitation of CVE-2025-8847 allows an attacker to execute arbitrary JavaScript code within the context of a victim's browser session. This can lead to a variety of malicious outcomes, including stealing session cookies, redirecting users to phishing sites, or modifying the content displayed on the RuoYi application. Given the nature of XSS, the impact can range from minor annoyance to complete compromise of user accounts and data. The vulnerability's remote accessibility significantly broadens the attack surface, making it a potential target for widespread exploitation.

利用背景翻译中…

CVE-2025-8847 has been publicly disclosed, increasing the likelihood of exploitation. While no active campaigns have been definitively linked to this specific CVE, the availability of public information makes it a potential target for opportunistic attackers. The CVSS score of 3.5 (LOW) indicates a relatively low probability of exploitation, but the ease of exploitation and the potential impact warrant attention. The vulnerability was published on 2025-08-11.

哪些人处于风险中翻译中…

Organizations utilizing RuoYi for content management or internal applications are at risk. Specifically, deployments with weak input validation or inadequate security configurations are particularly vulnerable. Shared hosting environments running RuoYi are also at increased risk, as a compromise of one tenant could potentially impact others.

检测步骤翻译中…

• php: Examine RuoYi application logs for suspicious requests to /system/notice/edit with unusual or encoded values in the noticeTitle or noticeContent parameters. Use grep to search for patterns indicative of XSS payloads within these requests.

grep -i 'javascript:|onerror=|onload=' /var/log/apache2/access.log | grep '/system/notice/edit'

• generic web: Monitor response headers for unexpected content or redirects following requests to /system/notice/edit. Use curl to test the endpoint with various input values and observe the response.

curl -X POST -d "noticeTitle=<script>alert('XSS')</script>" http://your-ruoyi-instance/system/notice/edit

攻击时间线

  1. Disclosure

    disclosure

威胁情报

漏洞利用状态

概念验证未知
CISA KEVNO
互联网暴露

EPSS

0.03% (8% 百分位)

CISA SSVC

利用情况poc
可自动化no
技术影响partial

CVSS 向量

威胁情报· CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:P/RL:X/RC:R3.5LOWAttack VectorNetwork攻击者如何到达目标Attack ComplexityLow利用漏洞所需的条件Privileges RequiredLow攻击所需的认证级别User InteractionRequired是否需要受害者采取行动ScopeUnchanged超出受影响组件的影响范围ConfidentialityNone敏感数据泄露风险IntegrityLow数据未授权篡改风险AvailabilityNone服务中断风险nextguardhq.com · CVSS v3.1 基础分数
这些指标意味着什么?
Attack Vector
网络 — 可通过互联网远程利用,无需物理或本地访问。攻击面最大。
Attack Complexity
低 — 无需特殊条件,可以稳定地利用漏洞。
Privileges Required
低 — 任何有效用户账户均可。
User Interaction
需要 — 受害者必须打开文件、点击链接或访问特制页面。
Scope
未改变 — 影响仅限于脆弱组件本身。
Confidentiality
无 — 无机密性影响。
Integrity
低 — 攻击者可修改部分数据,影响有限。
Availability
无 — 无可用性影响。

受影响的软件

组件ruoyi
供应商yangzongzhuan
影响范围修复版本
4.8.0 – 4.8.04.8.1
4.8.1 – 4.8.14.8.2

弱点分类 (CWE)

时间线

  1. 已保留
  2. 发布日期
  3. 修改日期
  4. EPSS 更新日期

缓解措施和替代方案翻译中…

The primary mitigation for CVE-2025-8847 is to upgrade RuoYi to version 4.8.2 or later, which includes the necessary fix. If immediate upgrading is not possible, consider implementing input validation and output encoding on the noticeTitle and noticeContent parameters within the /system/notice/edit endpoint. Web application firewalls (WAFs) can also be configured to detect and block XSS attempts targeting this specific endpoint. Regularly review and update RuoYi's security configuration to minimize the risk of similar vulnerabilities.

修复方法

将 RuoYi 更新到 4.8.1 之后的版本,该版本已修复 XSS 漏洞。请参阅供应商网站以获取最新版本和升级说明。作为临时措施,请验证和转义 noticeTitle 和 noticeContent 字段中的所有用户输入。

CVE 安全通讯

漏洞分析和关键警报直接发送到您的邮箱。

常见问题翻译中…

What is CVE-2025-8847 — XSS in RuoYi?

CVE-2025-8847 is a cross-site scripting (XSS) vulnerability in RuoYi versions 4.8.0–4.8.1, allowing attackers to inject malicious scripts via the /system/notice/edit endpoint.

Am I affected by CVE-2025-8847 in RuoYi?

You are affected if you are running RuoYi versions 4.8.0 or 4.8.1 and have not upgraded to 4.8.2 or implemented mitigating controls.

How do I fix CVE-2025-8847 in RuoYi?

Upgrade RuoYi to version 4.8.2 or later. Implement input validation and output encoding on the noticeTitle and noticeContent parameters as a temporary workaround.

Is CVE-2025-8847 being actively exploited?

While no confirmed active campaigns are known, the vulnerability has been publicly disclosed and may be targeted by opportunistic attackers.

Where can I find the official RuoYi advisory for CVE-2025-8847?

Refer to the RuoYi project's official website or security advisories for the latest information and updates regarding CVE-2025-8847.

你的项目受影响吗?

上传你的依赖文件,立即了解此CVE和其他CVE是否影响你。