# CVE-2025-52552: FastGPT LastRoute Parameter on Login Page Vulnerable to Open Redirect and DOM-based XSS

- Severity: Medium 5.5 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-21T02:15:07.026Z
- Modified: 2026-06-17T09:36:39.723Z
- Weaknesses: CWE-79, CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

FastGPT is an AI Agent building platform. Prior to version 4.9.12, the LastRoute Parameter on login page is vulnerable to open redirect and DOM-based XSS. Improper validation and lack of sanitization of this parameter allows attackers execute malicious JavaScript or redirect them to attacker-controlled sites. This issue has been patched in version 4.9.12.

(As written by CVE List.)

## Affected

- labring FastGPT: < 4.9.12
- fastgpt fastgpt: before 4.9.12

## Every score

- GitHub_M: CVSS:4.0 5.5 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/labring/FastGPT/security/advisories/GHSA-r976-rfrv-q24m> (exploit, vendor-advisory)
- <https://github.com/labring/FastGPT/commit/095b75ee27746004106eddeaa4840688a61ff6eb> (patch)

## Sources

- CVE List: [CVE-2025-52552](https://www.cve.org/CVERecord?id=CVE-2025-52552), CVE Terms of Use, modified 2025-06-23
- NVD: [CVE-2025-52552](https://nvd.nist.gov/vuln/detail/CVE-2025-52552), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-52552 · Whole record: https://cve.day/CVE-2025-52552.json · Rebuilt by cve.day 2026-11-25T22:58:59.489Z
