Commit 40bb0b3
fix: prevent PII disclosure in appointment reschedule flow
Whitelist customer data fields before inlining into HTML to prevent
unauthorized access to sensitive information (email, phone, address, etc).
- Filter customer record to id, first_name, last_name only
- Matches existing pattern used for provider data filtering
- Fixes information disclosure vulnerability via appointment hash
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 39eff0b commit 40bb0b3
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
283 | 284 | | |
284 | 285 | | |
285 | 286 | | |
| |||
0 commit comments