danger-n; 3 Senses

Sense Number 1: something exposed to harm or unpleasantness

Commentary: DANGER[+state][+exposure][+harm]
NOTE: the subject is the recipient of harm, -not- the cause of it (Sense 2)
NOTE: occurs in prepositional phrases: in/out_of danger

It's a blocked off street where the children can play without danger.
The doctor believes the patient is now out of danger.
We are in no danger from the hurricane, as it has moved out to sea. (Note: although the hurricane is the danger, the sentence here is describing the -state- of the -subject- when using the term 'danger', thus Sense 1 applies, -not- Sense 2)

WordNet 3.0 Sense Numbers: 1, 2, 4

Sense Number 2: a cause or source of harm

Commentary: DANGER[+cause][+harm] [+relation][+role][+agent][+harm]
NOTE: occurs in expressions 'X BE DANGER", the danger IS the subject/agent

These mental patients are a danger to themselves and to others.
Brush fires are a regular danger here during the dry season.
Collapsing tunnels are one of the real dangers of coal mining.
The TV news filled their minds with many imagined dangers of air travel.

WordNet 3.0 Sense Numbers: 3

Sense Number 3: the chance or possibility of a bad outcome

Commentary: HARM[+event][+outcome][+possible][-desirable]
NOTE: refers to a possibility, a chance of something bad
NOTE: the word 'chance' can be substituted for 'danger'

There is some danger (chance) that Bob will jump ship and join our competition.
There was no danger of the champagne running out at Bob's party.
There's always the danger that your new business venture can fail.

WordNet 0.0 Sense Numbers: 1b