Dictionary in Apple Mac OS X 10.5.8 allows remote attackers to create arbitrary files with any contents, and thereby execute arbitrary code, via crafted JavaScript, related to a "design issue."
http://lists.apple.com/archives/security-announce/2009/Nov/msg00000.html