Water on the inside of a window in January is a humidity and surface-temperature problem, not a leak.
Water on the inside of a window in January is a humidity and surface-temperature problem, not a leak. Mold in the corner of an outside wall is the same problem one step further on. Fixing it means either lowering the moisture in the air or raising the temperature of the surface.
Condensation happens when warm humid air meets a surface below its dew point. You can lower the humidity - ventilation, exhaust fans, a dehumidifier - or raise the surface temperature - insulation. Most Boston complaints need some of each, and adding insulation without dealing with the moisture puts the dew point further out in the assembly, which can move the mold into the wall cavity where you cannot see it.
Showering, cooking and drying laundry put litres of water into the air every day. In an airtight house without mechanical ventilation it has nowhere to go. Older houses ventilate themselves through the holes they leak, which is why drafty houses have less visible condensation and higher bills.
A vapor barrier on the cold side of a wall traps moisture in the framing. Foam on the inside face is the direction that works in a cold climate, because it keeps the warm side warm and the dew point out of the cavity.
It raises the temperature of the surrounding wall and reduces the cold draft across the glass, which helps. The glass itself is fixed by better glazing or lower indoor humidity.
Any mold growth is a moisture indicator and should be cleaned and the source corrected. If the area is large or returns after cleaning, get it inspected rather than painted over.
The dense, structural foam. It insulates, air-seals and adds rigidity in one pass.
The softer foam, cheaper per inch, and unforgiving about where you put it.
Most Boston attic problems are air problems wearing an insulation costume.