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.
Published: 2026-06-25
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The K2 extension for Joomla versions 2.26 and earlier injects the content of the #__k2_users.image database column straight into HTML src attributes in two separate template files. Because the data is not HTML‑escaped, an attacker able to set a malicious URL in this field can embed arbitrary HTML or JavaScript into the rendered page. The vulnerability is a classic Stored‑XSS flaw (CWE‑79) that can lead to session hijacking, defacement, or the delivery of malware to site visitors. The impact is limited to users who view the affected pages, but the effect can be widespread if the site has many visitors.

Affected Systems

Joomla sites running the getk2.com K2 extension version 2.26 or older are affected. The vulnerability exists in all installations of that extension where the image field is populated by an untrusted source. No other products or versions are listed.

Risk and Exploitability

The CVSS score of 6.1 indicates a Medium risk, and the EPSS score is unavailable; the vulnerability is not listed in the CISA KEV catalog. Because the flaw is a classic Stored‑XSS, it can be exploited by any user who can upload a malicious image URL. The lack of a publicized exploit does not diminish the risk; the vulnerability remains viable as long as the affected extension version is in use. The potential impact on confidentiality and integrity is moderate, but the lack of defensive controls and the ability for an attacker to inject code into the client side present a non‑negligible threat to the site’s visitors.

Generated by OpenCVE AI on June 25, 2026 at 17:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the K2 extension to a version newer than 2.26 that includes input sanitization for the image field.
  • If an upgrade is not immediately possible, modify the K2 templates to apply proper HTML escaping (e.g., use htmlspecialchars) before inserting the image URL into the src attribute.
  • Restrict the image URL field to accept only whitelisted protocols (http, https, file) or enforce a server‑side validation that rejects scripts or data URIs.
  • Verify that the user‑supplied image field cannot be used to refer to internal application files that could expose sensitive information.

Generated by OpenCVE AI on June 25, 2026 at 17:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
Link Providers
https://www.getk2.org/ cve-icon
History

Thu, 25 Jun 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 25 Jun 2026 15:45:00 +0000

Type Values Removed Values Added
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.
Title Joomla Extension - getk2.com - Stored-XSS in K2 extension for Joomla < 2.26
Weaknesses CWE-79
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: Joomla

Published:

Updated: 2026-06-25T17:00:41.345Z

Reserved: 2026-05-26T16:47:13.550Z

Link: CVE-2026-48942

cve-icon Vulnrichment

Updated: 2026-06-25T15:52:23.391Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-25T16:45:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')