# CVE-2026-48940: Joomla K2 extension stored XSS in embedVideo field

Source: https://junglewise.ai/threats/cve-2026-48940-joomla-k2-extension-stored-xss-in-embedvideo-field  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-25. Updated: 2026-06-25  
License: CC BY 4.0 with a link back

CVE-2026-48940 · Severity: info · CVSS 0 · Published 2026-06-25

The K2 extension for Joomla, a popular tool for managing complex website content, contains a security flaw that allows users with article creation permissions to inject malicious scripts. By including a script in the video embed field of an article, an attacker can target any visitor who views that page. This could lead to unauthorized actions being performed in the visitor's browser, such as data theft or account hijacking.

Technologies: [JoomlaWorks K2](https://junglewise.ai/threats/technologies/k2). Vendors: [JoomlaWorks](https://junglewise.ai/threats/vendors/joomlaworks).

## Quick answers

**Is CVE-2026-48940 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-48940 being exploited in the wild.

**How severe is CVE-2026-48940?** Informational severity, with a CVSS score of 0, published 25 June 2026.

**Which products and versions are affected?** JoomlaWorks K2 1.0-2.26.

**Is there a fix for CVE-2026-48940?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-48940 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-48940?** Check whether you run JoomlaWorks K2 at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in the K2 extension for Joomla (versions 1.0 through 2.26). The issue resides in the 'embedVideo' POST field, which fails to properly sanitize or escape input before storage and subsequent rendering. An authenticated user with 'create item' rights (typically the Author tier) can submit a raw <script> tag that is stored verbatim in the database. When any visitor views the affected article, the script is executed in their browser context. This allows for session hijacking, defacement, or redirection to malicious sites.

## Affected products

- getk2.com K2 extension for Joomla 1.0-2.26

## Timeline

- 2026-06-25: disclosed

## References

- [https://www.getk2.org/](https://www.getk2.org/)

## Related threats

- [Joomla K2 Extension Unrestricted File Upload in Article Attachments](https://junglewise.ai/threats/cve-2026-48946-joomla-k2-extension-unrestricted-file-upload-in-article)
- [Joomla K2 extension unrestricted file upload in article gallery upload](https://junglewise.ai/threats/cve-2026-48945-joomla-k2-extension-unrestricted-file-upload-in-article-gallery)
- [Joomla K2 path traversal in article-save handler](https://junglewise.ai/threats/cve-2026-48944-joomla-k2-path-traversal-in-article-save-handler)
- [JoomlaWorks K2 mass-assignment in plg_user_k2 plugin](https://junglewise.ai/threats/cve-2026-48943-joomlaworks-k2-mass-assignment-in-plg-user-k2-plugin)
- [Joomla K2 Extension Cross-Site Scripting in User Images](https://junglewise.ai/threats/cve-2026-48942-joomla-k2-extension-cross-site-scripting-in-user-images)
