Start with a small import on a test copy of the store. Save the CSV, the SKU list, the store views and the previous descriptions. This makes it easier to tell which HTML arrived with the import. Magento data import.
Match report records to descriptions in the import file
With local report delivery and external integrations disabled on the test copy, run bin/magento kowal_securityscan:dbcheck. Version 1.0.31 scans product text values in catalog_product_entity_text among its targets. Record the table, value ID and reason for each match. Map the value to its product, attribute and store view. Kowal Security Scan. Module documentation.
Keep a review log for each kind of content
The local test scanned three sample records as text. A plain paragraph produced no match. An embed with a known source in the sample and a block containing only JSON data triggered different rules. Use the report to identify records whose origin needs manual review.
| Value ID | Description fragment | Result | Check before publication |
|---|---|---|---|
101 | Plain paragraph | No match | Compare the text with the import source. |
102 | Externally embedded instruction | db.external_iframe | Confirm the domain and material with the supplier. |
103 | Data block in a script tag | db.inline_script_tag | Ask the supplier why it is there and whether it can be removed. |
Inspect unfamiliar markup as text. For an approved embed, record the supplier, full source address and purpose. Hold affected descriptions until outstanding matches are understood. After corrections, rescan the sample and record the decision for each ID. This review covers the imported text. OWASP guidance on safe HTML handling.
The earlier Security Scan guide covers the database and file scan scope.
