PT-2023-22765 · Discourse · Discourse

·

CVE-2023-30538

·

Publicado

2023-04-18

·

Atualizado

2024-03-06

CVSS v3.1

5.4

Média

VetorAV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Discourse versions prior to the latest stable and tests-passed versions
Description The issue arises from the improper sanitization of SVG files, allowing an attacker to execute arbitrary JavaScript on users' browsers by uploading a crafted SVG file. This can lead to the execution of malicious code.
Recommendations For versions prior to the latest stable and tests-passed versions, upgrade to the latest version. As a temporary workaround, consider enabling CDN handling of uploads and ensure the CDN sanitizes SVG files. Alternatively, disable SVG file uploads by ensuring that the authorized extensions site setting does not include svg, or reset that setting to the default.

Exploit

Correção

XSS

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BIT-DISCOURSE-2023-30538
CVE-2023-30538
GHSA-W5MV-4PJF-XJ43

Produtos afetados

Discourse