Skip to content
UI spoofing Disclosed report Intermediate CVE-2021-38497

Show form validationMessage on any website with window.open

Irvan Kurniawan Follow

Originally disclosed on Mozilla

  • Fixed in 34 days
  • Paid in 40 days
  • Disclosed after 34 days

Created attachment 9237103 formvalidity-windowopen.html

After call reportValidity() then open target URL with window.open() the reportValidity validationMessage will appear on the target website, it also looks to be called from the target website which is more convincing.

As the validationMessage appear on trusted website, users are more likely to trust to follow the message instructions.

Mozregression show it is regression of Bug 1684792, open form validation popup anchored at screen coordinate as datetime picker and select do so that it is positioned correctly in out of process iframes

Affected version:

  • Firefox Nightly 93.0a1 (2021-08-19) (64-bit)
  • Firefox 91.0.1 (64-bit)

Unaffected version:

  • Firefox ESR 78.13.0esr (64-bit)

Steps to reproduce:

  1. Visit attached formvalidity-windowopen.html
  2. Click "Start Spoof validationMessage" button
  3. validationMessage will appear on Twitter website
  4. If you're logged in, then press Enter to like the tweet

The original report as published on Mozilla's Bugzilla, by Irvan Kurniawan. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A medium-severity UI spoofing bug in UI Widgets. Mozilla made it public on 22 September 2021 as CVE-2021-38497.

About UI spoofing

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More by Irvan Kurniawan

View all

72 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.