CVE-2024-57041 NodeBB Cross-site scripting (XSS) vulnerability
Remote attackers can inject persistent scripts into user profiles, potentially executing code in other users' browsers.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2024-57041?
CVE-2024-57041 is a medium-severity cross-site scripting vulnerability in n/a, published on 24 Jan 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
A persistent cross-site scripting (XSS) vulnerability in NodeBB v3.11.0 allows remote attackers to store arbitrary code in the 'about me' section of their profile.
Weakness: CWE-79
Which versions are affected by CVE-2024-57041?
2 open source packages ship an affected version, including nodebb. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
nodebb npm | All versions | 3.11.1 |
nodebb npm | All versions | 3.11.1 |
Products include Nodebb Nodebb.
How do I fix CVE-2024-57041?
Upgrade nodebb to 3.11.1 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2024-57041 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-57041 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-vqr3-vrrg-f3jh.