CVE-2025-3801 songquanpeng one-api System Setting cross site scripting
Remote attackers can inject malicious scripts via System Setting fields in one-api, potentially compromising user sessions and data.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-3801?
CVE-2025-3801 is a medium-severity cross-site scripting vulnerability in songquanpeng one-api, published on 19 Apr 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A vulnerability was found in songquanpeng one-api up to 0.6.10. It has been classified as problematic. This affects an unknown part of the component System Setting Handler. The manipulation of the argument Homepage Content/About System/Footer leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Which versions are affected by CVE-2025-3801?
3 open source packages ship an affected version, including github.com/songquanpeng/one-api.
| Package | Affected | Fixed in |
|---|---|---|
github.com/songquanpeng/one-api Go | All versions | None |
github.com/songquanpeng/one-api Go | All versions to 0.6.10 | None |
github.com/songquanpeng/one-api Go | All versions to 0.6.10 | None |
How do I fix CVE-2025-3801?
Upgrade to a fixed version.
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-3801 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3801 exists.
Sources
Also known as GHSA-wvcx-j62q-45qw, GO-2025-3636.