{"id":"CVE-2025-52552","state":"PUBLISHED","title":"FastGPT LastRoute Parameter on Login Page Vulnerable to Open Redirect and DOM-based XSS","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.","publishedAt":"2025-06-21T02:15:07.026Z","updatedAt":"2025-06-23T17:42:33.181Z","severity":{"score":5.5,"label":"Medium","version":"4.0","vector":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["labring FastGPT"],"affected":[{"vendor":"labring","product":"FastGPT","versions":[{"version":"< 4.9.12","status":"affected"}]}],"references":["https://github.com/labring/FastGPT/security/advisories/GHSA-r976-rfrv-q24m","https://github.com/labring/FastGPT/commit/095b75ee27746004106eddeaa4840688a61ff6eb"],"weaknesses":["CWE-601","CWE-79"],"ingestedAt":"2026-10-29T20:09:31.862Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/52xxx/CVE-2025-52552.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-52552","state":"PUBLISHED","datePublished":"2025-06-21T02:15:07.026Z","dateUpdated":"2025-06-23T17:42:33.181Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-06-18T03:55:52.034Z"},"containers":{"cna":{"title":"FastGPT LastRoute Parameter on Login Page Vulnerable to Open Redirect and DOM-based XSS","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"labring","product":"FastGPT","versions":[{"version":"< 4.9.12","status":"affected"}]}],"references":[{"url":"https://github.com/labring/FastGPT/security/advisories/GHSA-r976-rfrv-q24m","name":"https://github.com/labring/FastGPT/security/advisories/GHSA-r976-rfrv-q24m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/labring/FastGPT/commit/095b75ee27746004106eddeaa4840688a61ff6eb","name":"https://github.com/labring/FastGPT/commit/095b75ee27746004106eddeaa4840688a61ff6eb","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","subAvailabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-601","lang":"en","description":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-06-21T02:15:07.026Z"},"source":{"advisory":"GHSA-r976-rfrv-q24m","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-23T17:42:22.771061Z","id":"CVE-2025-52552","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-23T17:42:33.181Z"}}]}}}