What is Formjacking and How Does it Work?

Formjacking is when cybercriminals inject malicious JavaScript code to hack a website and take over the functionality of the site's form page to collect sensitive user information.

Image

What is Formjacking

Formjacking is when cybercriminals inject malicious JavaScript code to hack a website and take over the functionality of the site's form page to collect sensitive user information. Formjacking is designed to steal credit card details and other information from payment forms that can be captured on the checkout pages of websites.

How does formjacking work?

Once a website user enters their payment card data on an e-commerce payment page and clicks “submit,” the malicious JavaScript code is what collects the entered information. The malicious JavaScript code that has been installed by the cyberthieves can collect information such as payment card details, home and business addresses, phone numbers and more. Once the information has been collected, it is then transferred to the attacker’s servers. The cyberthieves can then use this information for financial gain themselves, or they can sell the information on the dark web. With this information, cybercriminals can then use the data for identity theft or payment card fraud.

What to do if you think you have been formjacked? 

  • Contact your bank promptly to cancel the affected credit or debit card. Most financial institutions will not hold you responsible for charges if you notify them immediately upon discovering the fraud.
  • Monitor your bank and credit card statements closely for unauthorized or unfamiliar purchases.
  • Keep an eye on your credit scores. This can be a clue if a new card has been opened using your personal information.
  • Consider enrolling in identity theft protection, which helps protect your identity by alerting you to activity involving your personal information. You can also consider installing and running a robust device security software, like Norton 360, to help protect your devices against evolving cyberthreats like malware and ransomware.
Norton logo
  • Norton
Norton empowers people and families around the world to feel safer in their digital lives

Editors’  note: Our articles offer educational information and are written to raise awareness about important topics in Cyber Safety. Norton products and services may not protect against every type of threat, fraud, or crime we write about. For more details about how we research, write, and review our articles, see our Editorial Policy.


Want more?

Follow us for all the latest news, tips, and updates.

Privacy preference center
By clicking "Accept All" you allow cookies that improve your experience on our site, help us analyze site performance and usage, and enable us to show relevant marketing content. You can manage cookie settings below. By clicking “Confirm Selection” you agree with the current settings. See Cookies Policy
We have received a GPC signal from your browser and have modified the default cookie preferences for you accordingly. By clicking “Accept all” you allow cookies that improve your experience on our site, help us analyze site performance and usage, and enable us to show relevant marketing content. You can manage cookie settings below. By clicking “Confirm selection” you agree with the current settings. See Cookies policy
Manage consent settings

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

Preference cookies enable a website to remember information that changes the way the website behaves or looks, such as your preferred language or the region that you are in. De-selecting these cookies may result in improper functionality and setting of the website.

Performance cookies help us improve our website by analyzing how visitors use it and interact with it. De-selecting these cookies may result in poorly-designed content and slow site performance.


social media