Pretty dangerous. Since it is turing complete it enables an attacker to run arbitrary code on your machine if there is a security hole in the interpreter (which is a common occurrence).
On a Linux machine, the browser is the biggest gaping security hole you can have.