Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-52cw-pvq9-9m5v

Опубликовано: 17 июл. 2024
Источник: github
Github: Прошло ревью
CVSS4: 5.3
CVSS3: 5.4

Описание

Silverstripe uses TinyMCE which allows svg files linked in object tags

Impact

TinyMCE v6 has a configuration value convert_unsafe_embeds set to false which allows svg files containing javascript to be used in <object> or &lt;embed&gt; tags, which can be used as a vector for XSS attacks.

Note that &lt;embed&gt; tags are not allowed by default.

After patching the default value of convert_unsafe_embeds will be set to true. This means that <object> tags will be converted to iframes instead the next time the page is saved, which may break any pages that rely upon previously saved <object> tags. Developers can override this configuration if desired to revert to the original behaviour.

We reviewed the potential impact of this vulnerability within the context of Silverstripe CMS. We concluded this is a medium impact vulnerability given how TinyMCE is used by Silverstripe CMS.

References:

Пакеты

Наименование

silverstripe/framework

composer
Затронутые версииВерсия исправления

< 5.2.16

5.2.16

5.3 Medium

CVSS4

5.4 Medium

CVSS3

Дефекты

CWE-1395
CWE-79

5.3 Medium

CVSS4

5.4 Medium

CVSS3

Дефекты

CWE-1395
CWE-79