Reviewers: metaweta,
Description: The testbed has an XSS vulnerability when the embeddable flag is off. As an example, <IMG alt=foo</script><script>alert(1)</script>> causes an alert. This affects only the testbed since other clients of the gadget rewriter use the default behavior which is to render JS in embeddable mode. The testbed allows this to be overridden so that output is more readable. Please review this at http://codereview.appspot.com/40105 Affected files: M src/com/google/caja/opensocial/DefaultGadgetRewriter.java M src/com/google/caja/opensocial/applet/CajaApplet.java M src/com/google/caja/opensocial/applet/index.html
