150,000 websites infected because of the Newspaper theme

Thousands of websites running WordPress have been attacked because of a vulnerability (security hole) in the Newspaper theme.
Specifically, the vulnerability comes from a plugin called tagDiv Composer, which is required in order to use two WordPress themes: Newspaper and Newsmag. The themes are available through ThemeForest and Envato and have more than 155,000 downloads.
The vulnerability is of the type known as cross-site scripting (XSS) and allows hackers to inject malicious code into web pages.
Threat actors are exploiting the vulnerability to redirect visitors to various scam sites and sales of fake lottery tickets/gifts, and to trick visitors into signing up to receive notifications.
All in all, updating a WordPress site is critical to the quality and smooth running of a website or an online store.
Upgrades must always be carried out with great care, after first taking a proper backup, and with the knowledge to step into the code if that proves necessary after an upgrade.