CVE-2023-33197: Craft CMS stored XSS in indexedVolumes

Published May 26, 2023
·
Updated

Summary XSS can be triggered via the Update Asset Index utility

PoC 1. Access setting tab 2. Create new assets 3. In assets name inject payload: "<script>alert(26)</script> 4. Click Utilities tab 5. Choose all volumes, or volume trigger xss 7. Click Update asset indexes.

XSS will be triggered

Json response volumes name makes triggers the payload

"session":{"id":1,"indexedVolumes":{"1":"\"<script>alert(26)</script>"},

It’s run on every POST request in the utility.

Resolved in https://github.com/craftcms/cms/commit/8c2ad0bd313015b8ee42326af2848ee748f1d766

Other sources

Craft is a CMS for creating custom digital experiences on the web. Cross-site scripting (XSS) can be triggered via the Update Asset Index utility. This issue has been patched in version 4.4.6.

MITRE

Affected Software

3 affected componentsFixes available
composer/craftcms/cms>=4.0.0-RC1<=4.4.5
4.4.6
CraftCMS Craft CMS<4.4.6
Craft CMS<4.4.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/craftcms/cms to a version that resolves this vulnerability.

    Fixed in 4.4.6
  2. Upgrade

    Upgrade Craft CMS to a version that resolves this vulnerability.

    Fixed in 4.4.6Patch 8c2ad0bd313015b8ee42326af2848ee748f1d766

Event History

May 26, 2023
Advisory Published
01:56 PM
CVE Published
via MITRE·07:17 PM
Data Sourced
via MITRE·07:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-33197?

CVE-2023-33197 is a vulnerability in Craft CMS that allows cross-site scripting (XSS) attacks to be triggered via the Update Asset Index utility.

2

How can I exploit CVE-2023-33197?

To exploit CVE-2023-33197, you can inject a malicious script into the assets name and trigger the XSS attack by updating asset indexes.

3

How severe is CVE-2023-33197?

CVE-2023-33197 has a severity rating of medium with a CVSS score of 5.5.

4

How do I fix CVE-2023-33197?

To fix CVE-2023-33197, update your Craft CMS installation to version 4.4.6 or apply the necessary patches.

5

Where can I find more information about CVE-2023-33197?

You can find more information about CVE-2023-33197 on the Craft CMS GitHub page and the provided reference links.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203