5.4medium
In RPCMS v1.8 and below, the "nickname" variable is not properly sanitized before being displayed on page.
- Severity
- 5.4medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.53% (higher than 46% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| rpcms rpcms | up to 1.8 | NVD |
All scores
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.5low CVSS:2.0 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
En RPCMS versiones v1.8 por debajo, la variable "nickname" no se sanea correctamente antes de ser mostrada en la página. Cuando las funciones de la API están habilitadas, el atacante puede usar la API para actualizar el apodo del usuario con el payload de tipo XSS y lograr el XSS almacenado. Unos usuarios que vean los artículos publicados por el usuario inyectado desencadenarán el ataque de tipo XSS
References
| https://github.com/ralap-z/RPCMS/ | product | |
| https://gist.github.com/victomteng1997/bfa1e0e07dd22f7e0b13256eda79626f | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-37392 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-37392 changed 2026-06-17 | Public domain |