{"id":"CVE-2025-52552","summary":"FastGPT LastRoute Parameter on Login Page Vulnerable to Open Redirect and DOM-based XSS","details":"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.","aliases":["GHSA-r976-rfrv-q24m"],"modified":"2026-08-12T03:51:15.326509607Z","published":"2025-06-21T02:15:07.026Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52552.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-601","CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/52xxx/CVE-2025-52552.json"},{"type":"ADVISORY","url":"https://github.com/labring/FastGPT/security/advisories/GHSA-r976-rfrv-q24m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-52552"},{"type":"FIX","url":"https://github.com/labring/FastGPT/commit/095b75ee27746004106eddeaa4840688a61ff6eb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/labring/fastgpt","events":[{"introduced":"0"},{"fixed":"7981b61ca9b85e5957fbc3b9eaa5fdeec1f23505"},{"fixed":"095b75ee27746004106eddeaa4840688a61ff6eb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"4.9.12"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:fastgpt:fastgpt:*:*:*:*:*:*:*:*"}}],"versions":["v4.9.12-alpha","v4.9.11","v4.9.11-alpha","v4.9.10-fix2","v4.9.10-fix","v4.9.10","v4.9.10-alpha","v4.9.9","v4.9.9-alpha","v4.9.8","v4.9.8-alpha","v4.9.7-fix2","v4.9.7-fix","v4.9.7","v4.9.7-alpha","v4.9.6","v4.9.6-alpha","v4.9.5","v4.9.5-alpha","v4.9.4","v4.9.3","v4.9.2","v4.9.1-fix2","v4.9.1-fix","v4.9.0-fix2","v4.9.0-fix","v4.9.0","v4.8.23-fix2","v4.8.23-fix","v4.8.23","v4.8.23-alpha","v4.8.22","v4.8.22-alpha","v4.8.21-fix","v4.8.21","v4.8.20-fix2","v4.8.20-fix","v4.8.19","v4.8.19-beta","v4.8.18-fix2","v4.8.18-fix","v4.8.18","v4.8.17-fix-title","v4.8.17","v4.8.17-alpha","v4.8.16","v4.8.16-beta","v4.8.16-alpha","v4.8.15-fix3","v4.8.15-fix2","v4.8.15-fix","v4.8.15-fix-emb-page","v4.8.15","v4.8.15-alpha3","v4.8.15-alpha2","v4.8.15-alpha","v4.8.14-fix","v4.8.14-milvus-fix","v4.8.14","v4.8.14-alpha","v4.8.13-fix","v4.8.13","v4.8.12-fix","v4.8.12","v4.8.12-beta","v4.8.12-alpha","v4.8.11-fix","v4.8.11","v4.8.11-beta","v4.8.11-alpha2","v4.8.11-alpha","v4.8.10-fix2","v4.8.10-fix","v4.8.10","v4.8.10-alpha2","v4.8.10-alpha","v4.8.9","v4.8.9-alpha","4.8.9-alpha","v4.8.9-test","v4.8.8-fix2","v4.8.8-fix","v4.8.8","v4.8.8-alpha2","v4.8.8-alpha","v4.8.7","v4.8.7-alpha2","v4.8.7-alpha","v4.8.6","v4.8.6-alpha2","v4.8.6-alpha","v4.8.5","v4.8.5-alpha","v4.8.4-fix","v4.8.4","v4.8.4-alpha","v4.8.3","v4.8.2","v4.8.1","v4.8.1-alpha","v4.8","v4.8-alpha3","v4.8-alpha2","v4.8-alpha","v4.8-preview4","v4.8-preview3","v4.8-preview2","v4.8-preview","v4.7.1-fix2","v4.7.1","v4.7.1-alpha3","v4.7.1-alpha2","v4.7.1-fix","v4.7.1-alpha","v4.7","v4.7-alpha3","v4.7-alpha2","v4.7-alpha","v4.6.9","v4.6.9-alpha2","v4.6.9-alpha","v4.6.8","v4.6.8-alpha","v4.6.7-fix","v4.6.7","v4.6.7-alpha","v4.6.6","v4.6.6-alpha2","v4.6.6-alpha","v4.6.5","v4.6.5-alpha2","v4.6.5-alpha","v4.6.4","v4.6.4-alpha","v4.6.3","v4.6.3-alpha","v4.6.2","v4.6.2-alpha","v4.6.1","v4.6.1-alpha","v4.6","v4.5.2","v4.5.1","v4.5","v4.4.7","v4.4.6","v4.4.5","v4.4.4","v4.4.2","v4.3","v4.2.2","v4.2.1","v4.2","v4.0-beta","v3.9.4","v3.9.3","v3.9.2","v3.9.1","v3.9","v3.8.9","v3.8.8","v3.8.7","v3.8.6","v3.8.5","v3.8.4","v3.8.3","v3.8.1","v3.8","delete","v3.7.3","v3.7.1","v3.7","v3.5","v3.4","v3.3","v3.2","v3.1","v3.0","v2.9","v2.8.5","v2.8","v2.7.2","v2.7.1","v2.7","v2.6","v2.5","v2.4","v2.3","v2.2","v2.1","v2.0","v1.4","v1.2","v0.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-52552.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}