Skip to content

SVG files uploaded without sanitization due to sanitizer load failure #55

@malalacharm

Description

@malalacharm

Uploading an SVG file to the WordPress media library and then refreshing the page shows a yellow warning banner: "SVG was uploaded without sanitization because Cimo could not load the sanitizer." This indicates the Cimo plugin failed to load its sanitizer library at upload time, allowing the unsanitized file to be stored.

  1. Go to Media and upload any .svg file.
  2. Wait for the upload to complete successfully.
  3. Refresh the media library page.
  4. See the yellow warning banner.

The sanitizer library loads successfully and strips any embedded scripts or unsafe attributes from the SVG before saving.

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions