This is officially forbidden now and I've got an official confirmation on that.
You may say: "that couldn't be true, because there is a ton op plugins like "PHP anywhere" and others are freely hosted at wordpress.org".
Yes, they are. But not forever, so make sure to download them while they are not removed or not castrated on their functionality.
Here is a quote from the official email, that explains the new WordPress.org policy on 3rd-party themes and plugins:
We're saying IF your plugin allows people to insert arbitrary HTML/JS/etc, then it is not currently permitted for new plugins. |
We are actively working with the older plugins to retire them or improve them and make them safer.
Since that's an ongoing process, and has been for a couple years, we've only closed a couple. We're trying not to break existing users, while still protecting them from what has become one of the biggest vectors for kiddie hackers
WordPress Plugin Review Team | firstname.lastname@example.org