Language: JavaScript
Label: vulnerable
CWE: CWE-345 \u2014 Insufficient Verification of Data Authenticity
The product does not sufficiently verify the origin or authenticity of data, in a way that causes it to accept invalid data.

Code:
  constructor(el, options) {
    super(el, options);
    this.delay = parseInt(localStorage.sidekiqTimeInterval) || 5000;
    this.startPolling();
    document.addEventListener("interval:update", this.handleUpdate.bind(this));
  }