# CVE-2026-19697: GutenKit stored XSS via SVG upload

Source: https://junglewise.ai/threats/cve-2026-19697-gutenkit-stored-xss-via-svg-upload  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-20. Updated: 2026-09-25  
License: CC BY 4.0 with a link back

CVE-2026-19697 · Severity: medium · CVSS 6.8 · Published 2026-08-20

GutenKit is a WordPress plugin for creating page layouts and content blocks. The plugin fails to properly filter malicious code in SVG image files uploaded through certain API endpoints, allowing users with publishing permissions (such as Authors) to upload specially crafted SVG files containing JavaScript code. When an administrator or other user views the uploaded file, the malicious script executes in their browser, potentially allowing attackers to steal credentials, modify content, or compromise account security.

## Quick answers

**Is CVE-2026-19697 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-19697 being exploited in the wild.

**How severe is CVE-2026-19697?** Medium severity, with a CVSS score of 6.8, published 20 August 2026.

**Which products and versions are affected?** GuetenKit GutenKit before 2.5.0.

**Is there a fix for CVE-2026-19697?** A patch was published on 2026-05-26: Version 2.5.0 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-19697 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-19697?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

This is a stored cross-site scripting (XSS) vulnerability caused by insufficient sanitization of SVG file uploads. The vulnerable plugin accepts SVG uploads via the WordPress REST API media endpoint but does not strip malicious attributes (e.g., onload) or embedded script tags, unlike the standard Media Library uploader which does sanitize these. An authenticated user with the upload_files capability (Author role or higher) can upload a crafted SVG containing JavaScript payloads. The unsanitized SVG is then served with an image/svg+xml MIME type from the site's own origin, allowing the embedded script to execute in the context of any user who accesses the file. The vulnerability requires authentication and file upload capability but affects all users who subsequently view the malicious file. Fixed in version 2.5.0.

## Affected products

- GuetenKit GutenKit before 2.5.0

## Timeline

- 2026-08-18: disclosed
- 2026-05-26: patched: Version 2.5.0 released

## References

- [https://wpscan.com/vulnerability/d144679c-10ef-4a69-b0e9-fd9e18a2aafc/](https://wpscan.com/vulnerability/d144679c-10ef-4a69-b0e9-fd9e18a2aafc/)
