When adding a range to an object in the DOM, it is possible to use addRange to add the range to an incorrect root object. This triggers a use-after-free, resulting in a potentially exploitable crash.
When adding a range to an object in the DOM, it is possible to use addRange to add the range to an incorrect root object. This triggers a use-after-free, resulting in a potentially exploitable crash.
https://www.mozilla.org/en-US/security/advisories/mfsa2017-05/#CVE-2017-5403 https://bugzilla.mozilla.org/show_bug.cgi?id=1340186