Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2023-30538
discourse

Score5.4 Medium
CVSS 3.1
Exploit probability (EPSS)0.48%
within the next 30 days
CategoryCross-site scripting (XSS)
Published18 April 2023
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, if a user clicks a link, opens a file or similar.

Impact is limited: reading confidential data, modifying data.

The impact can spread beyond the vulnerable component.

Weakness type: Cross-site scripting (XSS).

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Discourse is an open source platform for community discussion. Due to the improper sanitization of SVG files, an attacker can execute arbitrary JavaScript on the users’ browsers by uploading a crafted SVG file. This issue is patched in the latest stable and tests-passed versions of Discourse. Users are advised to upgrade. For users unable to upgrade there are two possible workarounds: enable CDN handing of uploads (and ensure the CDN sanitizes SVG files) or disable SVG file uploads by ensuring that the `authorized extensions` site setting does not include `svg` (or reset that setting to the default, by default Discourse doesn't enable SVG uploads by users).

CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Weakness: CWE-79 – Cross-site scripting (XSS)

Affected products

VendorProductVersions
discoursediscourse<=3.0.2
discoursediscourse<3.1.0
discoursediscourse3.1.0

Sources

Latest in the same category

  • CVE-2026-135621 High 7.2
    The WP Express Checkout plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wpec_data' (and 'data') parameters in versions up to, and including, 2.5.5 This is due to insufficient input…
    Cross-site scripting (XSS) · 1 December 2026
  • CVE-2026-118699 Medium 5.4
    The WP Express Checkout (Fast Payments via PayPal & Stripe) plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'wp_ppdg_payment[payer][name][given_name]' parameter in all versions up to, and…
    Cross-site scripting (XSS) · 1 December 2026
  • CVE-2026-133420 Medium 6.4
    The WP Job Portal – AI-Powered Recruitment System for Company or Job Board website plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'category' parameter in all versions up to, and including,…
    Cross-site scripting (XSS) · 1 December 2026
  • CVE-2026-132227 Medium 6.4
    The ShopLentor – All-in-One WooCommerce Growth & Store Enhancement Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'customlabel_days' parameter in all versions up to, and including,…
    Cross-site scripting (XSS) · 1 December 2026
  • CVE-2026-140097 Critical 9.1
    Vite is a frontend tooling framework for JavaScript. From 4.0.0 until 6.4.6, 7.3.8, 8.1.7, 8.2.5, and 8.3.7 in Vite, and prior to 1.5.1 in vite-plus, a network-exposed development server embeds request-derived module…
    Cross-site scripting (XSS) · 30 November 2026
  • CVE-2026-138277 Low 2.3
    Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Apache Commons BCEL. This only happens when you're using Class2HTML to generate webpages for…
    Cross-site scripting (XSS) · 30 November 2026