Firefox · Core
CVE-2025-8030
Logic Error in Core
Overview
Medium
Severity
—
CVSS
No
Exploited ITW
Fixed
Fix Status
Files Changed
devtools/client/shared/curl.js
Patch
diff --git a/devtools/client/shared/curl.js b/devtools/client/shared/curl.js
index 2d0f142fd44..0c19c13abb7 100644
--- a/devtools/client/shared/curl.js
+++ b/devtools/client/shared/curl.js
@@ -484,7 +484,7 @@ const CurlUtils = {
// Lastly we replace new lines with ^ and TWO new lines because the first
// new line is there to enact the escape command the second is the character
// to escape (in this case new line).
- .replace(/\r?\n/g, "^\n\n") +
+ .replace(/\r?\n|\r/g, "^\n\n") +
encapsChars
);
},
Loading diff…
References
On This Page