There are two different situations here, with two different answers.
On an open wound, no — not unless your provider tells you to. For a closed surgical wound, do not use lotions, powders, cosmetics, or any other skin care products on the wound. For an open wound, do not put any lotion, cream, or herbal remedies on or around your wound, unless your provider has said it is OK.
On a healed scar, some people think it helps to massage the scar with vitamin E or petroleum jelly once it forms. However, this is not proven to help prevent a scar or help it fade. Do not rub your scar or apply anything to it without talking with your provider first.
So on a healed scar, petroleum jelly is not dangerous, just unproven — and you should still ask before applying anything. That is a different kind of no from the one that applies to an open wound.
The confusion often comes from the word moist. Wound care does aim to keep a wound moist. Your provider will apply a dressing to keep the wound moist, which promotes healing. But that is done with the dressing chosen for your wound, not by putting a barrier product on the surface yourself.
If the skin *around* the wound is dry or cracking, that is a fair thing to raise. With a venous ulcer, the skin around it should be kept clean and moisturized. Ask what to use and where it may go. The answer for the skin nearby is not the answer for the wound itself.
