Tags: pwn mujs 

Rating:

Byte length not being divided for Uint16Array allows OOB, which can be used to overwrite js objects to manipulate for arbitrary read from string objects and leaking code base via properties pointers and libc base via GOT, allowing for one gadget to be set up for and deployed.

Original writeup (https://cor.team/posts/Zh3r0%20CTF%20V2%20-%20All%20Pwnable%20Writeups).