St. John's wort can be invasive, spreading quickly and potentially outcompeting native plants. Its allelopathic properties inhibit the growth of other species, making it difficult to grow different plants nearby.