The Bright object observation by JWST is still being studied. The known problems that arises with Bright object observation is image persistence. Although it is said that James Webb space Telescope can observe near bright planets. This has limitations, The telescope cannot observe near earth object, Moon, Mercury, Venus, Comets near the Sun, Since the thermal design does not allow us to do so. Jupiter, Saturn, the asteroid belt, Neptune, Venus and Mars (which could be a challenge) can be observed (obviously not the Sun)
Anything more than 85° from the Sun as viewed from L2, which includes Mars, Jupiter, Saturn, their satellites, the asteroid belt, and all outer Solar System objects. JWST also can't look farther from the Sun than 135° (i.e. within 45° of the anti-sun position) but outer solar system objects will all be observable some of the time. The field of regard limitations are a fundamental consequence of the observatory thermal design and the sunshield design that keeps the telescope and instruments cold. This means that the Sun, Earth, Moon, Mercury, and Venus, and of course sun-grazing comets and many known NEOs cannot be observed. We are not aware that the near-IR or mid-IR detectors can be damaged by bright light from any celestial source (except the Sun, which will never be in the JWST field of view). However, the detectors have some image persistence after bright sources are observed, so we have to minimize bright target exposures and allow time for recovery before observing fainter objects after bright ones. This subject is still being studied and quantified. Can Webb observe near bright planets?
Yes, unless the planet would fall into the Fine Guidance Sensor (FGS) field of view and prevent locating and tracking the guide star. Webb guide stars are generally in the range 17th to 12th magnitude (J), which is not that faint for a big space telescope. The FGS field of view is located several arc minutes from the science instruments. If the desired instrument and detector would saturate during a normal exposures, the observer can specify a subarray of the detector for more rapid readout. The fewer the pixels, the more samples each can get per second. The smallest field for this method for NIRCam is 128x128 pixels, which allows sampling up to 5 per second and a minimum exposure time of 0.18 seconds. We think only Mars will be a real challenge.