6.8medium
XSS due to lack of CSRF validation for replying/publishing
- Severity
- 6.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.61% (higher than 50% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-43m5-c88r-cjvv
Description
In nodebb-plugin-blog-comments before version 0.7.0, a logged in user is vulnerable to an XSS attack which could allow a third party to post on their behalf on the forum. This is due to lack of CSRF validation.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| psychobunny nodebb-plugin-blog-comments | < 0.7.0 | CVE List |
| nodebb-plugin-blog-comments (npm) | before 0.7.0 | GitHub Advisory Database |
| nodebb blog_comments | before 0.7.0 | NVD |
All scores
| GitHub_M | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Classification
What each source says
CVE List
In nodebb-plugin-blog-comments before version 0.7.0, a logged in user is vulnerable to an XSS attack which could allow a third party to post on their behalf on the forum. This is due to lack of CSRF validation.
GitHub Advisory Database
Impact
Due to lack of CSRF validation, a logged in user is potentially vulnerable to an XSS attack which could allow a third party to post on their behalf on the forum.
Patches
Upgrade to the latest version v0.7.0
Workarounds
You can cherry-pick the following commit: https://github.com/psychobunny/nodebb-plugin-blog-comments/commit/cf43beedb05131937ef46f365ab0a0c6fa6ac618
References
Visit https://community.nodebb.org if you have any questions about this issue or on how to patch / upgrade your instance.
NVD (es)
En nodebb-plugin-blog-comments versiones anteriores a 0.7.0, un usuario registrado es vulnerable a un ataque de tipo XSS que podría permitir a un tercero publicar en su nombre en el foro. Esto es debido a una falta de comprobación de CSRF
References
| https://github.com/psychobunny/nodebb-plugin-blog-comments/security/advisories/GHSA-43m5-c88r-cjvv | third-party-advisory, web | |
| https://github.com/psychobunny/nodebb-plugin-blog-comments/commit/cf43beedb05131937ef46f365ab0a0c6fa6ac618 | patch, third-party-advisory, web | |
| https://www.npmjs.com/package/nodebb-plugin-blog-comments | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-15156 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-15156 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-43m5-c88r-cjvv changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2020-15156 changed 2026-06-17 | Public domain |