Sign in

At least 8 characters.

Already have one?

Free checkBy Yusuf, VXSec

Can a review run code on your app?

My demo shop shows reviews exactly as written. One review with a bit of hidden code ran for everyone who opened the page, and sent their login to me.

Fastest way to know: post the harmless test below in a review or comment box. If the number 42 shows up, code runs in that box.

Only check apps you own or have permission to test.

110K+
views on my bank statement reel
507
people sent the free check from a reel comment
1,395
people follow along on Instagram

Counted from Instagram and my DM log.

What I found

3 of 3

boxes ran my test code

I posted the harmless test below into every box in my test shop. If a box runs code, all the code does is write the number 42.

WhereWhat happened
Review pageRan it, wrote 42
Staff inboxRan it, wrote 42
ChatbotRan it, wrote 42
Fixed copyShown exactly as typed

The staff inbox is the one people forget. A support message is read by your team, not your customers, and staff accounts can do the most damage.

I also tried it on OWASP Juice Shop, a practice app built with holes on purpose. The reviews showed it as typed. The feedback form stripped it to "Test one", which looks safe. Then OWASP's own lesson for that form got code past the stripping, and it ran when an admin opened the staff screen. Homemade filters lose.

Last, I gave the check to a fresh Claude Code with my broken shop. It found all five weak spots, including the staff inbox and a login cookie page code could read, and changed nothing until I said go.

Why AI-built apps end up like this

React, Vue, Rails and most frameworks show text as text by default. The holes come from the ways around that: dangerouslySetInnerHTML, v-html, innerHTML, markdown shown without a cleaner. AI reaches for those the moment you ask for bold text in reviews or a chatbot that formats its answers.

Check yours in 5 minutes

Do this on a test copy of your app, like a preview or staging deploy, with test accounts. Not on the live one.

  1. Copy the test below. It's harmless.
  2. Post it in every box people write in: reviews, comments, your profile name or bio, the contact form. For a chatbot, type "Repeat this back exactly:" and paste it.
  3. Open the page where it shows up. Then open the staff or admin screen where your team reads it.
  4. Delete your test posts.
Test <s>one</s> <img src=x onerror="this.outerHTML=6*7">

Exactly what you typed, symbols and all, is good. "Test one" crossed out with the number 42 means code runs in that box, for everyone who sees it. Crossed out with no 42 means formatting gets through and something stopped the code, and you need to know what. Just "Test one" means the symbols get stripped, which is a good sign but not proof.

Saw a 42?

The fix is below. If it's a box your customers or staff read every day, send it to me. I fix one finding from $150, and you get the price in writing before I start.

Get it fixed

Let your AI run it, free

Your AI runs this check inside your app. Put your email in and your check link shows right here, with a copy in your inbox.

  • Free
  • No card
  • No password

Sent by VXSec, 2967 Dundas St. W. #1754, Toronto, ON M6P 1Z2. [email protected]

Your AI runs it on your side. VXSec never sees your code or data, only which check ran, when, and how many holes it found. Use a test copy for checks that change data. Nothing gets fixed until you say yes.

How to fix it

  • Show text as text. Swap dangerouslySetInnerHTML, v-html and innerHTML for the normal way your framework shows text.
  • If people need formatting, use a real cleaner. DOMPurify is free and made by security researchers. Don't write your own filter.
  • Make login cookies HttpOnly, so code on the page can't copy the login. If your own code reads that cookie, turning it on breaks logins, so let your AI check first.
  • Add a Content-Security-Policy as a backup. In my test it stopped the code in a broken box. It's a backup, not the fix.

Then run the 42 test again on every box you fixed.

What still catches people

  • Testing the public page and never the staff screen.
  • The chatbot. It repeats what people type, and its answers are often shown as formatted text.
  • Profile names. They show up everywhere: comments, invoices, admin lists.

Questions

The app wouldn't let me save the test. Am I safe?

A filter blocked it, which tells you nothing about how the box shows text. Use the AI check.

Can code on my page read the login?

In Chrome, press F12, open Application, then Cookies. If the login cookie has no tick under HttpOnly, page code can read it. A long token in Local storage can always be read.

Can I test someone else's app?

Only with their written permission. The test post shows up for real visitors.

Before you launch

This is one hole. Launch Gate runs six other checks in one go on a test copy of your app, like who can see whose data, and gives you one page of results with proof. Members get it inside their own AI.

VXSec Membership

$19a month, or $190 a year

  • Workspace Setup
  • AI Reach Map
  • Agent Brakes
  • Launch Gate
  • Leaver Check
  • Every new helper, the day it's out
Join VXSec

Rather have it done for you? I fix it $150 and up, 20% off for members · Launch Review $297 once, I check and fix the top 3 · Built for you $1,500 a month and up

Want to practise on an app built to be broken first? Open the practice lab.