CVE-2026-48942 Joomla Extension - getk2.org - Stored-XSS in K2 extension for Joomla < 2.26

Medium 6.1 Published Updated

Attackers can inject malicious scripts via user image fields in the K2 extension, potentially stealing sessions or executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-48942?

CVE-2026-48942 is a medium-severity cross-site scripting vulnerability in getk2.org K2 extension for Joomla, published on 25 Jun 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

K2 ≤ 2.26 renders the `#__k2_users.image` column directly into HTML `src` attributes via two distinct templates, in both cases without HTML escaping.

Weakness: CWE-79

Which versions are affected by CVE-2026-48942?

It affects 1 product.

Products include Joomlaworks K2.

How do I fix CVE-2026-48942?

No fix has been published for CVE-2026-48942 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-48942 being exploited?

There is no known exploitation of CVE-2026-48942 in the wild and no public exploit code.

Sources

Also known as GHSA-5hmf-7m33-2v23.

Is CVE-2026-48942 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free