CVE-2026-48942

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

Published Jun 25, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 18:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
Link Providers
https://www.getk2.org/ cve-icon cve-icon
History
Type Values Removed Values Added
Title Joomla Extension - getk2.com - Stored-XSS in K2 extension for Joomla < 2.26 Joomla Extension - getk2.org - Stored-XSS in K2 extension for Joomla < 2.26
Type Values Removed Values Added
First Time appeared Getk2
Getk2 k2 Extension For Joomla
Vendors & Products Getk2
Getk2 k2 Extension For Joomla
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'}

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
Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Joomla
Published
Updated
Jun 28, 2026, 6:29 PM
Reserved
May 26, 2026, 4:47 PM
Status
Analyzed
Published
Jun 25, 2026, 4:16 PM
Modified
Oct 25, 2026, 10:10 PM