The European Union Aviation Safety Agency advised airlines on Wednesday to temporarily avoid flying over Jordan, which is being targeted by Iranian attacks amid its war with the United States.

The agency said in a note to airlines that 'repeated Iranian missile attacks, and to a lesser extent drone attacks, on sites in Jordan, as well as the activation of air defense systems, create increased risks,' according to AFP.

The Jordanian army announced on Wednesday that it had repelled two Iranian attacks and intercepted six missiles and four drones.

Tehran struck Jordan, among other US allies in the Middle East, in response to American airstrikes on its territory.

The European Union also recommended avoiding the airspace of Bahrain, Kuwait, the United Arab Emirates, Qatar, and the Gulf of Oman. It also called for avoiding the airspace of Iran, Iraq, and Lebanon.

This recommendation is unlikely to significantly change European airlines' plans, as they generally consider flying over Egypt and Saudi Arabia to be safer for flights between Europe and Asia.

For their part, airlines from Middle Eastern countries continued to fly over Jordan on Wednesday, according to data from the flight tracking website FlightRadar24.