CVE-2026-5077 MEDIUM

CVE-2026-5077: Total <= 2.2.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Post Title in Blog Section Image alt Attribute

Vendor Hashthemes
Product Total
Weakness CWE-79 · XSS
Published May 2, 2026
Last update May 4, 2026

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

The Total theme for WordPress is vulnerable to Stored Cross-Site Scripting via post titles in versions up to, and including, 2.2.1 due to insufficient output escaping when rendering the_title() inside HTML attribute context in the home blog section template. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the malicious post to be published and displayed with a featured image in the Home Page blog section.

Explanation of Vulnerability in Simple Terms

02Summary

Total by HashThemes contains a cross-site scripting (XSS) vulnerability in versions up to 2.2.1. An attacker with low-level site access can inject malicious scripts that execute in other users' browsers when they interact with affected pages. The vulnerability requires user interaction and can affect other site components. Update to a version newer than 2.2.1.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in other users' browsers, potentially stealing session tokens or performing actions on their behalf.

Potential impact on your site

04Site Impact

Site users' accounts and data are at risk if attackers with low-level access inject malicious code targeting other users.

Conditions required to exploit

05Prerequisites

Attacker needs low-level site access (e.g., subscriber account) and the victim must visit or interact with an affected page.

Key dates

06Disclosure timeline

May 2, 2026 CVE published
May 4, 2026 Record updated