CVE-2025-7903 yangzongzhuan RuoYi Image Source ui layer
Remote attackers can inject malicious scripts via image sources, potentially leading to code execution or account takeover in RuoYi applications.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-7903?
CVE-2025-7903 is a medium-severity cross-site scripting vulnerability in Ruoyi Ruoyi, published on 20 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability classified as problematic was found in yangzongzhuan RuoYi up to 4.8.1. Affected by this vulnerability is an unknown functionality of the component Image Source Handler. The manipulation leads to improper restriction of rendered ui layers. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
Weakness: CWE-1021
Which versions are affected by CVE-2025-7903?
It affects 1 product.
Products include Ruoyi Ruoyi.
How do I fix CVE-2025-7903?
No fix has been published for CVE-2025-7903 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-7903 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-7903 exists.
Other vulnerabilities in Ruoyi Ruoyi
Sources
Also known as GHSA-r7mw-vcw7-q6mr.