SureCart <= 4.9.4 - Unauthenticated Stored Cross-Site Scripting via 'manual-payment-instructions' Attribute of…
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
The SureCart WordPress plugin, an ecommerce and payments extension, is affected by a flaw that lets unauthenticated visitors submit malicious scripts that get stored and later run in the browsers of people who view affected pages. This could allow attackers to carry out actions or access data in the context of logged-in users, such as site administrators, though the injected script only runs when the comment is visible on a page using SureCart's components.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original description
The SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'comment' parameter in all versions up to, and including, 4.9.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Successful execution requires the injected comment to be visible on a page that loads SureCart's web-component bundle (e.g. a page containing a SureCart Buy Button block), and the comment must be auto-approved or approved by a moderator.
Timeline
- CVE published
- First seen by cve.now
Affected versions
- surecart SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments
through 4.9.4
References 6
plugins.trac.wordpress.org
- browser/surecart/tags/4.9.2/app/src/BlockLibrary/BlockServiceProvider.php#L152
- browser/surecart/tags/4.9.2/app/src/BlockLibrary/BlockServiceProvider.php#L100
- browser/surecart/tags/4.9.2/app/src/Support/kses.json#L1263
- browser/surecart/tags/4.9.2/dist/components/collection/components/controllers/confirmation/manual-instructions/sc-order-manual-instructions.js
- changeset/3742278/surecart/trunk/app/src/BlockLibrary/BlockServiceProvider.php