Content
E-commerce Security: What E-merchants Should Know About Cyber Threats
Time to read: 14 minutes
A hosted checkout, an HTTPS connection, and multifactor authentication are useful controls. None answers the merchant’s next question: Who is responsible when an administrator account, storefront script, or order integration is compromised—and what evidence shows that the controls work?
E-commerce security means protecting customer and business information, keeping orders and payments accurate, and maintaining or restoring essential services. For a head of ecommerce reviewing a platform or engineering partner, the practical starting point is a responsibility map, not a promise of an “unhackable” store.
This overview explains common threats, separates provider controls from merchant responsibilities, and includes an editable checklist for discussing evidence with IT, operations, and suppliers. It is not a security assessment, penetration test, compliance determination, or incident-response service.
Have a project in mind? Request a quote.
What an Online Store Needs to Protect
An online store connects assets that deserve different kinds of protection:
- Customer information: account details, addresses, order histories, and support records. Unnecessary copies increase exposure.
- Payments and commercial decisions: checkout pages, refunds, payment-provider settings, prices, and payout instructions. A legitimate login does not make every action legitimate.
- Business continuity: the storefront, identity service, domain, inventory connection, and order-processing systems. A working homepage is not enough if orders cannot reach fulfillment.
Payment fraud and a security breach are related but different. A disputed purchase does not establish that a store was compromised; a stolen administrator account can be serious even before a fraudulent payment appears.
Rather than building a budget around an undated global loss estimate, identify your own exposure. What can each privileged account change? Where does customer or payment information travel? Which outage stops sales or shipment? These questions give the business and technical teams a concrete basis for priorities.
Where Security Gaps Appear
Security failures are not limited to malware. Excessive permissions, unsupported extensions, an abandoned supplier account, and an unowned alert can leave gaps between otherwise useful tools. Avoid treating staff awareness as the whole defense—or blaming a person before understanding the controls around their work.
Provider controls versus merchant responsibilities
The boundary depends on the product, deployment model, contract, and customizations. “Cloud hosted” is not a responsibility allocation.
For example, Adobe’s shared-responsibility documentation, updated October 8, 2026, describes Adobe Commerce on cloud infrastructure, a PaaS offering. It distinguishes Adobe’s platform responsibilities from merchant duties such as securing custom code and integrations, managing access, applying application patches, and responding to merchant-side incidents. That allocation should not be generalized to every Adobe product, Magento Open Source installation, or hosting arrangement.
If your store runs on Magento or Adobe Commerce, Dinarys' Magento 2 security guide covers the platform-specific side of these merchant duties; check its recommendations against your own version and hosting arrangement.
Use this discussion map; confirm the actual allocation with each provider:
| Area | Ask the provider to establish | Assign on the merchant side |
|---|---|---|
| Hosting and availability | Covered infrastructure, mitigation services, support route, and service limits | Application dependencies, business impact, escalation authority, and continuity decisions |
| Identity and access | Available authentication, permissions, and logging capabilities | Named accounts, least privilege, supplier access expiry, and access reviews |
| Code, apps, and scripts | Supported versions, advisories, and provider-managed updates | Custom-code maintenance, extension inventory, script approval, and release acceptance |
| Payments | The exact service and implementation covered by compliance evidence | Data-flow documentation, secure integration, provider oversight, and applicable validation |
| Recovery | What backups or recovery features cover—and exclude | Restore ownership, missing data sources, reconciliation, and business acceptance |
Signals require investigation, not instant diagnosis
Unexpected access changes, unexplained storefront changes, unusual exports, payment warnings, or availability alerts merit prompt triage. Slow pages and server errors alone do not prove a DDoS attack or data theft; a release defect, demand spike, or supplier outage may produce similar symptoms.
Have an authorized technical owner correlate alerts with logs, recent changes, and provider information. Preserve relevant records through the incident process. Do not send customer data or secrets into a public support thread or improvise tests against production.
Types of Cybercrime
The following categories explain what merchants need to recognize and ask about. They are not an exhaustive threat model or instructions for testing a live store. The OWASP Top 10:2025 is a web-application risk awareness document; it includes access control, misconfiguration, software supply chain, authentication, injection, and logging risks beyond these five familiar attack types.
1. Distributed Denial of Service (DDoS)
A DDoS attack uses distributed sources to disrupt service availability. Network capacity and application resources can both be affected. Simply buying a larger server or increasing database connections is not a general solution.
Ask your hosting or CDN provider what mitigation covers, how an incident is escalated, and what remains the application team’s responsibility. Discuss application bottlenecks, appropriate traffic controls, and effects on legitimate customers. OWASP’s denial-of-service guidance stresses architecture-specific analysis rather than a one-step defense.
Useful evidence: documented coverage, an escalation route, and an approved availability-response plan. A normal traffic chart does not demonstrate resistance to every attack.
2. Phishing
Phishing impersonates a trusted party to induce an unsafe action, such as disclosing credentials, approving access, opening malicious content, or changing payment instructions. It can target the merchant’s staff and suppliers as well as shoppers.
Combine staff reporting and independent verification of sensitive requests with technical controls. Prioritize privileged identities: commerce administration, email, identity provider, domain registrar, hosting, payment administration, and deployment tools. Use phishing-resistant MFA where supported, with a controlled recovery process; do not assume every MFA method offers the same protection. OWASP’s MFA guidance also highlights the risks of factor-reset and recovery processes.
Useful evidence: a dated record of MFA enforcement and exceptions, privileged-account ownership, and the process for reporting suspected compromise. MFA does not correct excessive permissions, unsafe application code, or every form of session compromise.
3. Skimming
E-skimming involves unauthorized collection of information entered into a website, including payment information. An affected storefront or third-party script can create risk even when a merchant uses an external payment provider.
Inventory the scripts and apps involved in the purchase journey. Record their purpose, owner, supplier, approval, and removal process. Coordinate payment-page protections with the payment provider rather than assuming a security plugin or a badge covers the implementation.
PCI SSC’s FAQ 1588, dated February 2025, clarifies a specific script-related eligibility criterion in PCI DSS v4.0.1 SAQ A r1 for pages with embedded provider payment forms. It explicitly distinguishes those pages from redirects and fully outsourced payment functions. That distinction is not a blanket exemption from PCI DSS or other controls; confirm the appropriate validation with your compliance-accepting entity.
Useful evidence: the payment flow, approved script inventory, applicable protection evidence, and provider confirmation for the exact integration—not merely a product’s marketing description.
4. Cross-site scripting (XSS)
XSS occurs when untrusted content is interpreted as executable content in a browser. It can affect shoppers and staff using administrative interfaces; it is not only a customer-device problem.
Ask the engineering owner how the application uses framework protections, context-appropriate output encoding, and sanitization where HTML is intentionally allowed. “Encrypt every variable” and “filter all input” are not adequate substitutes. OWASP’s XSS prevention guidance explains why defenses depend on where data is used and why no single technique solves XSS.
Useful evidence: a scoped code-review record, relevant authorized test results, and verification that identified defects were repaired. A web application firewall does not replace correcting vulnerable code.
5. SQL injection
SQL injection arises when an application lets untrusted input change the meaning of a database command. It can expose or alter information, depending on the application and database permissions.
The engineering discussion should focus on safe database interfaces and parameterized queries, with appropriately limited database permissions. OWASP Top 10:2025’s injection guidance prioritizes keeping data separate from commands and queries. Changing a form from GET to POST does not solve SQL injection, and POST does not itself provide encryption.
Useful evidence: review of the relevant data-access paths, repair records, and scoped verification by authorized specialists. No source-code secrecy policy can replace safe query construction.
What Standards Help Improve E-commerce Security
Standards and frameworks serve different purposes. Ask which version, environment, organization, and evidence a claim covers.
| Reference | What it helps you discuss | What it does not establish by itself |
|---|---|---|
| PCI DSS v4.0.1, featured in PCI SSC’s document library when checked October 29, 2026 | Protection of payment account data; responsibilities and validation for the actual payment environment | That a platform’s compliance evidence automatically covers the merchant’s entire store |
| OWASP Top 10:2025 | Awareness of major web-application risk categories | An exhaustive test plan, a certification, or proof that a particular application is secure |
| NIST Cybersecurity Framework 2.0, published February 26, 2024 | A common language for organizing and communicating cybersecurity outcomes | A prescribed configuration or evidence that an organization has achieved those outcomes |
The NIST CSF 2.0 publication explicitly says it does not prescribe how outcomes should be achieved. Adopting framework language is different from demonstrating implementation. Likewise, an ISO certificate claim requires its exact standard, certified entity, scope, issuer, and validity; “ISO certified” alone is not a store-security conclusion.
Outsourcing payments can reduce what the merchant directly handles, but PCI SSC explains that merchant responsibility remains. Obtain relevant provider compliance evidence, agreements, and shared-responsibility details. Confirm validation obligations and the appropriate questionnaire with the acquirer or other compliance-accepting entity; this article cannot select an SAQ for your store.
HTTPS with properly implemented TLS protects information in transit. It does not establish that the receiving application, administrator account, or stored information is secure. OWASP’s TLS guidance distinguishes transport protection from protection after data reaches an endpoint. A padlock or PCI badge is not an end-to-end assurance statement.
Steps to Protect E-commerce Security
Make prevention, detection, and recovery separate responsibilities
Prevent: restrict privileged access, use supported software, approve dependencies and scripts, and minimize sensitive data. Detect: assign someone to review relevant alerts and changes. Respond and recover: establish who can coordinate providers, preserve evidence, authorize business decisions, and verify restoration. These controls complement one another; none guarantees that a breach cannot occur.
Start with these operational actions:
- Name privileged identities and limit access. Include supplier accounts, service accounts, and access outside the commerce admin. Grant only the permissions needed, review them after role changes, and remove access when work ends. Document MFA coverage and controlled emergency access without putting recovery secrets in the checklist.
- Maintain software and dependencies. Inventory the platform version, extensions, runtime dependencies, integrations, and third-party scripts. Assign advisory monitoring, patch decisions, release verification, and rollback. If an update cannot be applied, record the risk, interim controls, decision owner, and review date rather than quietly treating it as complete.
- Minimize payment and customer data. Prefer a suitable provider-managed payment flow where it meets the business need; document what the merchant still receives. Keep unnecessary payment data out of support tickets, analytics, logs, and exports. PCI SSC FAQ 1533, dated July 2021, states that sensitive authentication data must not be stored after authorization even if encrypted; this includes card verification codes. Review other retention and privacy obligations with the appropriate specialists.
- Own alerts and sensitive changes. Establish who receives identity, application, and provider alerts, and how they escalate. Review changes to payment settings, scripts, access, and integrations through an agreed process. Record evidence dates and coverage limits; “logging enabled” is not the same as an alert reaching a responder.
- Verify recovery, not just backup scheduling. Establish which data, code, configuration, and external services are covered. Protect recovery copies from unauthorized alteration or deletion and arrange isolated or immutable copies as appropriate to the environment. Use an authorized isolated restore exercise to check recoverability, missing dependencies, and order/payment reconciliation. Record actual observations separately from recovery objectives; no exercise has been performed for this article.
- Keep incident contacts usable. Identify the merchant incident lead, deputy, hosting/platform support, payment provider/acquirer, security-response specialist, and legal/privacy contacts. Include an alternate communication route if email or identity systems are unavailable. Legal notification duties depend on the facts and jurisdiction; the checklist sets no universal deadline.
Use an editable asset-to-evidence checklist
Copy the table below into your own tracker and add one row per asset. It is a planning worksheet, not a scored audit, certification, or substitute for specialist assessment. Keep the completed copy in an access-controlled location. Store references to evidence—not passwords, tokens, recovery codes, card data, or raw customer records.
Each row connects asset → accountable owner and provider boundary → threat → control → dated evidence → exception → escalation → recovery. Replace suggested roles with actual accountable people or teams. “Unknown” is an open action, not a passing result.
| Checklist area | Evidence to request | When evidence is missing |
|---|---|---|
| Privileged identity and supplier access | Current account/ |
Assign an owner; document access and authentication exceptions |
| Platform, dependencies, and scripts | Version inventory, patch/ |
Identify unsupported items and unresolved update decisions |
| Payment flow and data retention | Data-flow record, applicable provider evidence, retention decisions | Confirm implementation and compliance route with the relevant parties |
| Monitoring and incident contacts | Alert-routing record, responder ownership, contact validation date | Resolve unowned alerts and unavailable contact routes |
| Backups and restore | Coverage record and dated isolated restore observations | Record unverified systems and recovery dependencies |
Acceptance for the worksheet: every relevant asset has an accountable owner and an evidence reference/date, or an explicit gap with a decision owner and review date. Exceptions identify interim controls and escalation; recovery identifies who verifies business operations. Completing those fields organizes work—it does not demonstrate that every control is effective.
Hypothetical scenario: a new marketing script before a promotion
Suppose a merchant plans to add a marketing script to a storefront that includes an embedded provider payment form. The platform advertises PCI compliance, but the merchant has not documented who approves scripts. This is an invented discussion example, not a Dinarys client incident or an executed security test.
The ecommerce lead creates a worksheet row:
- Asset: storefront pages leading into the embedded checkout.
- Accountable owner/boundary: merchant ecommerce owner; engineering manages the merchant-added script; payment provider confirms its own integration scope.
- Threat: an unauthorized or compromised script could affect the purchase journey or expose information.
- Control: approval and justified inclusion of scripts, plus applicable payment-page protections agreed with the provider and security owner.
- Evidence: approved script inventory and provider confirmation for this integration are requested; both are currently unknown, not verified.
- Exception: the launch decision remains open; no assumption that the platform’s badge covers the script. The decision owner sets a review date and considers deferring the script.
- Escalation: engineering/security owner and payment provider; the compliance-accepting entity resolves the applicable validation route.
- Recovery: the authorized team documents how to remove the addition or restore the approved release, then verifies checkout and order flow. Suspected compromise triggers incident handling rather than an undocumented rollback that could lose evidence.
The lesson is not “all scripts are unsafe.” It is that a change can cross several responsibility boundaries. Provider evidence, merchant controls, and a business decision must refer to the same implementation.
Choose the right kind of help
Your current platform or support provider may already cover the needed control. Start by establishing the gap. An engineering partner can own an agreed implementation or maintenance task; an independent security specialist may be needed for a security assessment or authorized penetration test. PCI validation and incident forensics require their own appropriate scope and expertise. Do not treat a general QA report as any of those services.
Ask prospective partners for the named roles, relevant work scope, evidence they will deliver, acceptance criteria, access boundaries, escalation route, and handover responsibilities. A credential needs a holder, scope, and validity check; it does not guarantee the security of a delivered store.
Dinarys describes engineering, testing, deployment, and support deliverables in its delivery process. Those are relevant to implementing and handing over agreed changes; they do not establish security-assessor authority, current security-certified staffing, or a breach-prevention guarantee.
The public case pages show what such engineering scope can include. In the Prostor case, a Magento 2 migration for an omnichannel drugstore chain, the scope included a checkout with OTP and card tokenization. The MedExcess case, a multivendor Magento marketplace built from scratch for an American healthcare online marketplace and network community, describes security measures so that only approved, verified tenants can sell, and lists PCI, HIPAA, and GDPR among the project's requirements. These are implementation scopes for specific controls—not security assessments, penetration tests, or compliance certifications.
Conclusion
E-commerce security is a continuing responsibility across people, applications, providers, and recovery processes. Choose controls for the assets and threats you actually have, then ask who operates each control, what dated evidence supports it, and what happens when it fails.
Have a project in mind? Request a quote to discuss an ecommerce engineering or maintenance scope. Bring a non-sensitive architecture summary, the responsibility gaps, and the acceptance evidence you need. Do not send credentials, payment information, or customer records through the contact form. Specialist security assessment or PCI validation should be scoped separately with appropriately qualified parties.
FAQ
Which platforms provide the best e-commerce security?
There is no universally safest platform independent of its deployment and operation. Compare provider responsibilities, supported versions, access controls, extension governance, incident support, and recovery coverage for your intended implementation. SaaS, PaaS, and self-hosted arrangements allocate work differently; a platform name does not remove merchant responsibilities.
What can protect an e-store from cyberattacks?
Use layered controls: privileged-access protection and least privilege, maintained software, safe development, payment-data minimization, script governance, actionable monitoring, and verified recovery arrangements. Maintain explicit owners and evidence. HTTPS, MFA, hosted payments, and a firewall are useful parts of that system, not complete protection or automatic compliance.
What indicates that an e-commerce website is under attack?
Unexplained account, payment-setting, or storefront changes and unusual access or export activity deserve investigation. Availability problems may also warrant escalation, but do not prove an attack. Follow the incident plan, involve the appropriate providers and responders, and preserve relevant evidence without exposing secrets or customer data.
FAQ
A reliable SaaS e-commerce platform is just the basis upon which a secure e-store can be built. After choosing the right platform, e-merchants have to acquire a set of rules and practices to protect their online businesses against cyberattacks. Some of the e-commerce security measures are simple and well-known (strong passwords, financial data encryption, VPNs and firewalls, etc). The other ones are more specific. It is better to select the platform whose embedded capabilities include the majority of compulsory e-commerce security techs and tools. Based upon our hands-on experience, we strongly recommend paying special attention to the leading e-commerce platforms Magento and Shopware.
A well-established e-commerce security policy must be created by every e-merchant as we believe. Full awareness of both possible cyberthreats and effective countermeasures is what can protect any e-commerce business from hacking. Cybersecurity literacy is not rocket science, every intelligent entrepreneur can grasp the main principles of doing online business securely. Besides, software professionals with strong expertise in e-commerce security are always to the rescue.
There are different types of cyberattacks. They have specific signs and reflections respectively. If your server is glitching while a website is slowing down, for example, it can be recognized as an indication of a DDoS attack. When you notice an unusually intensive activity on your website when new pages are downloaded every second, it also can be a sign that someone tries to take over your e-store. Not to guess about possible threats and vulnerabilities, we suggest establishing good cooperation with software professionals who can take charge of your e-commerce security.
Lassen Sie Profis Ihre Herausforderung meistern
Unsere zertifizierten Spezialisten finden die optimale Lösung für Ihr Unternehmen.