PT-2022-16894 · Directus · Directus

Highrijkvanzanten

·

Published

2022-04-04

·

Updated

2022-04-12

·

CVE-2022-24814

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Directus versions prior to 9.7.0
Description The issue allows unauthorized JavaScript to be executed by inserting an iframe into the rich text html interface that links to a file uploaded HTML file, which loads another uploaded JS file in its script tag. This satisfies the regular content security policy header, allowing the file to run any arbitrary JS.
Recommendations For versions prior to 9.7.0, update to version 9.7.0 to resolve the issue. As a temporary workaround, consider disabling the live embed in the what-you-see-is-what-you-get by adding { "media live embeds": false } to the Options Overrides option of the Rich Text HTML interface.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2022-24814
GHSA-XMJJ-3C76-5W84

Affected Products

Directus