Read the docs
TI-2022-13045 Aliases CVE-2022-30999GHSA-fm53-mpmp-7qw2

Possible cross-site scripting attack via unsanitized SVG files in FoF Upload

Priority HIGH 73CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

FriendsofFlarum (FoF) Upload is an extension that handles file uploads intelligently for your forum. If FoF Upload prior to version 1.2.3 is configured to allow the uploading of SVG files ('image/svg+xml'), navigating directly to an SVG file URI could execute arbitrary Javascript code decided by an attacker. This Javascript code could include the execution of HTTP web requests to Flarum, or any other web service. This could allow data to be leaked by an authenticated Flarum user, or, possibly, for data to be modified maliciously. This issue has been patched with v1.2.3, which now sanitizes uploaded SVG files. As a workaround, remove the ability for users to upload SVG files through FoF Upload.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01263 69th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed upload (FriendsOfFlarum): 1.2.3fof/upload (Packagist): 1.2.3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
FriendsOfFlarumuploadbefore 1.2.31.2.3Patch availableCNA
—fof/upload (Packagist)before 1.2.31.2.3Patch availableGHSA-fm53-mpmp-7qw2
  • upload VendorFriendsOfFlarum Affected before 1.2.3 Fixed in 1.2.3 Patch available CNA
  • fof/upload (Packagist) Vendor— Affected before 1.2.3 Fixed in 1.2.3 Patch available GHSA-fm53-mpmp-7qw2

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:friendsofflarum:upload:*:*:*:*:*:*:*:*before 1.2.3VulnerableFriendsOfFlarum
  • cpe:2.3:a:friendsofflarum:upload:*:*:*:*:*:*:*:* Versions before 1.2.3 Vulnerable ·FriendsOfFlarum

Remediation

  • Fix · CNA upload (FriendsOfFlarum) Fixed in 1.2.3
  • Fix · GHSA-fm53-mpmp-7qw2 fof/upload (Packagist) Fixed in 1.2.3 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-30999
  2. 2026-10-03 Alias added: GHSA-fm53-mpmp-7qw2

References

Sources