I'm not certain, but it sounds as if you're saying these plants are inside your home, on the windowsill, rather than on an outside windowsill. If that's not right, and they are outside and you are in the UK, then aphid infestation appears to be a problem (check the underside of the nasturtium leaves for signs). Blackfly particularly like marigolds and nasturtiums, but I wouldn't normally expect such terrible damage to dahlias from those, in which case, it might just be the time of year. If they're outside, they're on their last legs and about to keel over anyway, although the dahlia should be cut down, the tuber cleaned of soil and left to dry on newspaper or a tray full of sand, with the stems facing the paper/sand, then stored somewhere frost free till early spring.
If they're inside, then any heat from a nearby radiator will be a big problem for them, and aphid infestation can still occur if the window has been open at some time. It's unlikely the nasturtium and marigold will carry on throughout winter, even inside, and the dahlia needs a good rest between now and next spring. The other possibility that might be causing trouble is fungus gnats - these are attracted to pot plants in compost with a high organic content, and which is wet for a lot of the time. If it's those, then you should take the plants outside, away from other plants if possible, empty the pots out and get rid of much compost as possible whilst retaining the plant roots, scrub the pots so they're thoroughly clean, then use a sterile potting compost and repot. It's not actually worth doing that with the plants you've got though, given the time of year.