XSS due to lack of CSRF validation for replying/publishing
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | nodebb-plugin-blog-comments | < 0.7.0 | 0.7.0 |
References
- https://github.com/psychobunny/nodebb-plugin-blog-comments/security/advisories/GHSA-43m5-c88r-cjvv
- https://nvd.nist.gov/vuln/detail/CVE-2020-15156
- https://github.com/psychobunny/nodebb-plugin-blog-comments/commit/cf43beedb05131937ef46f365ab0a0c6fa6ac618
- https://www.npmjs.com/package/nodebb-plugin-blog-comments
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-352- Platform
- npm
- Package
nodebb-plugin-blog-comments- Disclosed
- 26.08.2020
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-43m5-c88r-cjvv - CC BY 4.0
Vulnerability history: nodebb-plugin-blog-comments
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.