CWE entry / Trust Boundary and Input Validation

CWE-346

Origin Validation Error

Within this archive, CWE-346 is used when an application accepts data across an origin boundary without checking that the sender comes from the expected origin and source.

Archive connections

Connected case files

01 record
CASE-020 WEBVERSE
Primary weakness

RollWinded

Origin Validation Error / DOM XSS

The ScoreCast client accepted string messages without checking the sender origin or window. It then wrote the received string to innerHTML. A controlled sender opened the page, posted a small HTML payload, and changed the lab from unsolved to solved.