CVE-2026-48942
Analyzed Analyzed - Analysis Complete

Stored XSS in K2 Component for Joomla

Vulnerability report for CVE-2026-48942, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-25

Last updated on: 2026-06-28

Assigner: Joomla! Project

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-25
Last Modified
2026-06-28
Generated
2026-07-15
AI Q&A
2026-06-26
EPSS Evaluated
2026-07-14
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
joomlaworks k2 to 2.26 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Detection Guidance

The vulnerability in K2 ≀ 2.26 involves the `#__k2_users.image` column being rendered directly into HTML src attributes without HTML escaping, which can be detected by inspecting the HTML output of affected pages for unescaped user image data.

To detect this on your system, you can review the HTML source of pages that display user images via K2 templates and look for suspicious or unescaped content in the src attributes.

There are no specific commands provided in the available resources to detect this vulnerability automatically.

Executive Summary

The vulnerability in K2 versions up to 2.26 involves the `#__k2_users.image` column being rendered directly into HTML `src` attributes through two different templates without applying HTML escaping.

This means that user-supplied data in the image column can be injected into the HTML source attribute as-is, potentially allowing malicious content to be executed or displayed.

Impact Analysis

Because the image data is rendered without HTML escaping, an attacker could inject malicious code or content into the image source attribute.

This could lead to security issues such as cross-site scripting (XSS), which may allow attackers to execute scripts in the context of the affected website, potentially compromising user data or site integrity.

Mitigation Strategies

Immediate mitigation steps include updating K2 to a version later than 2.26 where this vulnerability is fixed.

If an update is not immediately possible, review and modify the affected templates to ensure proper HTML escaping of the `#__k2_users.image` column before rendering it into HTML src attributes.

Additionally, restrict user input and sanitize any data that could be injected into the image fields to prevent exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-48942. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart