# CVE-2021-37392: In RPCMS v1.8 and below, the "nickname" variable is not properly sanitized before being displayed on page.

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- 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.53%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-26T17:03:20.000Z
- Modified: 2026-06-17T04:00:27.870Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

In RPCMS v1.8 and below, the "nickname" variable is not properly sanitized before being displayed on page. When the API functions are enabled, the attacker can use API to update user nickname with XSS payload and achieve stored XSS. Users who view the articles published by the injected user will trigger the XSS.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- rpcms rpcms: up to 1.8

## Every score

- 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`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://gist.github.com/victomteng1997/bfa1e0e07dd22f7e0b13256eda79626f> (exploit, third-party-advisory)
- <https://github.com/ralap-z/RPCMS/> (product)

## Sources

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

---

Page: https://cve.day/CVE-2021-37392 · Whole record: https://cve.day/CVE-2021-37392.json · Rebuilt by cve.day 2026-11-25T22:58:02.872Z
