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

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.72%, higher than 54% of CVEs (2026-12-01)
- Published: 2023-11-21T21:53:00.327Z
- Modified: 2026-06-17T06:33:57.787Z
- Weaknesses: CWE-79
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- nextcloud security-advisories: >= 25.0.0, < 25.0.13; >= 26.0.0, < 26.0.8; >= 27.0.0, < 27.1.3
- nextcloud nextcloud_server: from 25.0.0 before 25.0.13; from 26.0.0 before 26.0.8; from 27.0.0 before 27.1.3

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/nextcloud/security-advisories/security/advisories/GHSA-p7g9-x25m-4h87> (vendor-advisory)
- <https://github.com/nextcloud/text/pull/4877> (patch)
- <https://hackerone.com/reports/2211561> (permissions-required)

## Sources

- CVE List: [CVE-2023-48302](https://www.cve.org/CVERecord?id=CVE-2023-48302), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-48302](https://nvd.nist.gov/vuln/detail/CVE-2023-48302), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-48302 · Whole record: https://cve.day/CVE-2023-48302.json · Rebuilt by cve.day 2026-11-25T22:58:30.638Z
