{"id":"CVE-2025-66452","state":"PUBLISHED","title":"LibreChat's lack of JSON parsing error handling can lead to XSS","description":"LibreChat is a ChatGPT clone with additional features. In versions 0.8.0 and below, there is no handler for JSON parsing errors; SyntaxError from express.json() includes user input in the error message, which gets reflected in responses. User input (including HTML/JavaScript) can be exposed in error responses, creating an XSS risk if Content-Type isn't strictly enforced. This issue does not have a fix at the time of publication.","publishedAt":"2025-12-11T22:52:20.442Z","updatedAt":"2025-12-12T19:28:19.177Z","severity":{"score":5.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["danny-avila LibreChat"],"affected":[{"vendor":"danny-avila","product":"LibreChat","versions":[{"version":"<= 0.8.1","status":"affected"}]}],"references":["https://github.com/danny-avila/LibreChat/security/advisories/GHSA-q6c5-gvj5-c264"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/66xxx/CVE-2025-66452.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-66452","state":"PUBLISHED","datePublished":"2025-12-11T22:52:20.442Z","dateUpdated":"2025-12-12T19:28:19.177Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2025-12-01T18:44:35.639Z"},"containers":{"cna":{"title":"LibreChat's lack of JSON parsing error handling can lead to XSS","descriptions":[{"lang":"en","value":"LibreChat is a ChatGPT clone with additional features. In versions 0.8.0 and below, there is no handler for JSON parsing errors; SyntaxError from express.json() includes user input in the error message, which gets reflected in responses. User input (including HTML/JavaScript) can be exposed in error responses, creating an XSS risk if Content-Type isn't strictly enforced. This issue does not have a fix at the time of publication."}],"affected":[{"vendor":"danny-avila","product":"LibreChat","versions":[{"version":"<= 0.8.1","status":"affected"}]}],"references":[{"url":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-q6c5-gvj5-c264","name":"https://github.com/danny-avila/LibreChat/security/advisories/GHSA-q6c5-gvj5-c264","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"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-12-11T22:52:20.442Z"},"source":{"advisory":"GHSA-q6c5-gvj5-c264","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-12T19:27:37.555730Z","id":"CVE-2025-66452","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-12-12T19:28:19.177Z"}}]}}}