Right, I didn't. I've found that signature for this PUA is
<iframe{WILDCARD_ANY_STRING}</iframe>{WILDCARD_ANY_STRING}<html>
So, this could be simply fixed with this patch:
--- pasteword.old 2010-08-25 08:34:48.000000000 +0200
+++ pasteword.js 2010-08-25 08:41:05.457746590 +0200
@@ -5,7 +5,7 @@
var ed = tinyMCEPopup.editor, el = document.getElementById('iframecontainer'), ifr, doc, css, cssHTML = '';
// Create iframe
- el.innerHTML = '';
+ el.innerHTML = '<' + 'iframe id="iframe" src="javascript:\'\';" frameBorder="0" style="border: 1px solid gray">';
ifr = document.getElementById('iframe');
doc = ifr.contentWindow.document;