CVE-2021-32671CWE-79

XSS vulnerability with translator

Critical · published June 7, 2021

CVSS v3.1
10.0
EPSS
40%
Percentile
98.6
In the wild
Unconfirmed
What it is

🚨 A malicious user can script their way into your Flarum forum with just a crafty input! 🌐 Think of it like allowing guests at a dinner party to paint on the walls — if they can just scribble anything they want, they're likely to create chaos instead of art! In this case, the input fields are the walls, and the malicious HTML is the messy graffiti. An attacker could easily exploit this vulnerability to execute their own scripts, potentially deleting discussions, altering user profiles, or even messing with Admin settings. This could lead to an absolutely devastating breach of user trust and forum integrity, especially if the attack is aimed at a privileged user. Imagine your community's safe space turning into a playground for cyber mischief! 🔥

Put simply

Think of it like allowing guests at a dinner party to paint on the walls — if they can just scribble anything they want, they're likely to create chaos instead of art! In this case, the input fields are the walls, and the malicious HTML is the messy graffiti. Flarum's translation system allowed unrestricted HTML inputs in user fields, which means that an attacker could inject malicious scripts directly. This was particularly problematic in the search box, where simple HTML became executable code on client browsers.

What to do

An attacker could easily exploit this vulnerability to execute their own scripts, potentially deleting discussions, altering user profiles, or even messing with Admin settings. This could lead to an absolutely devastating breach of user trust and forum integrity, especially if the attack is aimed at a privileged user. Imagine your community's safe space turning into a playground for cyber mischief! 🔥 Immediately upgrade your Flarum installation to version 1.0.2 to patch this critical vulnerability. Encourage your community members to report any suspicious activity and reinforce user education on safe practices while interacting on the forum. 🛡️ You've got this! With this upgrade, your forum will be safer and sounder than ever! 💪✨

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.39738 · 98.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2021-06-07T21:25Z
EPSS history
Timeline
  • 07 JUN 21:25Z
    XSS vulnerability with translator
    cvelistv5