rrweb icon indicating copy to clipboard operation
rrweb copied to clipboard

[Bug]: hidden inputs are not masked when maskAllInputs is enabled

Open ababik opened this issue 10 months ago • 1 comments

Preflight Checklist

  • [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb

Version

2.0.0-alpha.18

Expected Behavior

All hidden input values are expected to be masked if maskAllInputs option is enabled.

Actual Behavior

The values are recorded as is which is a potential privacy issue.

Steps to Reproduce

  1. Add a hidden input to a page and set some value
  2. Start session recording with maskAllInputs: true
  3. Inspect recorded data and you can see that the value is not masked

Testcase Gist URL

No response

Additional Information

No response

ababik avatar Dec 16 '24 22:12 ababik