CVE-2022-41938CWE-79

Cross site scripting vulnerability with discussion titles in flarum

Critical · published November 19, 2022

CVSS v3.1
9.0
EPSS
1%
Percentile
54.0
In the wild
Unconfirmed
What it is

🚨 If you're running Flarum between versions 1.5.0 and 1.6.1, you might just have a ticking time bomb! An attacker can inject malicious HTML just by crafting a clever discussion title. 🔥 Think of it like a restaurant where anyone can change the menu to include a dangerous dish that can spoil the meal for everyone. If the staff doesn't check the menu, customers might end up with an undesired surprise! This vulnerability could let malicious actors execute scripts in the browser of anyone visiting the affected discussion page, potentially stealing sensitive data or hijacking sessions. It’s a recipe for chaos as it compromises the safety of your entire community!

Put simply

Think of it like a restaurant where anyone can change the menu to include a dangerous dish that can spoil the meal for everyone. If the staff doesn't check the menu, customers might end up with an undesired surprise! After a change made in Flarum's title system, any discussion title can be rendered as HTML. This oversight means an attacker can input script tags through discussion titles, triggering an XSS attack when other users view the page.

What to do

This vulnerability could let malicious actors execute scripts in the browser of anyone visiting the affected discussion page, potentially stealing sensitive data or hijacking sessions. It’s a recipe for chaos as it compromises the safety of your entire community! Upgrade your Flarum installation immediately to version 1.6.2 to close this critical vulnerability. There are no workarounds, so make this a priority to protect your community! You've got this! Act fast and you’ll keep your Flarum community safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00738 · 54.0th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2022-11-19T00:00Z
EPSS history
Timeline
  • 19 NOV 00:00Z
    Cross site scripting vulnerability with discussion titles in flarum
    cvelistv5