Executive brief
NanoMag, a WordPress theme used for magazine-style websites, contains a security flaw that allows attackers to inject malicious scripts into the site. If a site administrator or visitor clicks a specially crafted link, the attacker can execute code in their browser, potentially leading to unauthorized actions, data theft, or website defacement. This issue affects all versions up to 1.8 and can be resolved by updating to version 1.9.
Technical details
A Reflected Cross-Site Scripting (XSS) vulnerability exists in the Jellywp NanoMag theme for WordPress (versions <= 1.8) due to improper neutralization of user-supplied input during web page generation (CWE-79). An unauthenticated remote attacker can exploit this by tricking a user into clicking a malicious link or visiting a crafted page. Successful exploitation allows the attacker to execute arbitrary JavaScript in the context of the victim's browser session, which can lead to session hijacking or unauthorized administrative actions if the victim is an authenticated administrator. The vulnerability is patched in version 1.9.
Affected products
- Jellywp NanoMag <= 1.8
Timeline
- 2026-03-11: other: Vulnerability reported by researcher
- 2026-06-26: disclosed: Vulnerability published by Patchstack
- 2026-06-26: patched: Version 1.9 released to address the issue