Skip to content

Commit 2e93c6f

Browse files
committed
fix: corruption in JSON payloads due to escaping
1 parent a0a5b02 commit 2e93c6f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## [Unreleased]
4+
5+
**Fixed**
6+
7+
- Resolved an issue with corrupted JSON payloads.
8+
39
## [4.6.1](https://github.com/auth0/wp-auth0/tree/4.6.1) (2024-07-08)
410

511
[Full Changelog](https://github.com/auth0/wp-auth0/compare/4.6.0...4.6.1)
@@ -11,7 +17,7 @@
1117

1218
**Fixed**
1319

14-
- Resolved issue with `?wle` parameter handling.
20+
- Resolved [CVE-2023-6813](ttps://github.com/auth0/wordpress/security/advisories/GHSA-x6p7-44rh-m3rr) involving a sanitization issue with `?wle` parameter.
1521

1622
## [4.6.0](https://github.com/auth0/wp-auth0/tree/4.6.0) (2024-01-11)
1723

lib/WP_Auth0_Routes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function custom_requests($wp, $return = false)
109109
$wp->send_headers();
110110
}
111111

112-
echo esc_js($output);
112+
echo str_replace('"', '"', $output);
113113
exit;
114114
}
115115

0 commit comments

Comments
 (0)