Vendor Audit

Page content checks

A passive read of the homepage HTML for known-vulnerable library versions, Subresource Integrity, mixed content, the other sites it runs scripts from, and basic accessibility signals. Missing SRI on third-party scripts means a CDN compromise injects code into your site; mixed content allows tampering with HTTPS pages.

How Page content works

Page analysis is a single GET of the homepage with the response body parsed for a small set of signals. It runs only in a deep scan because it's slower (the body has to be fetched and parsed) and noisier (sites behind bot-mitigation challenges produce unreliable findings). The output is a parser inventory and a handful of derived findings. The one exception is the known-vulnerable library check, which runs on every scan: it needs only the script addresses in the first part of the page.

Library versions are read from the script addresses (jquery-3.4.1.min.js, /ajax/libs/lodash.js/4.17.15/) and the page itself, and checked against the vulnerability list maintained by the retire.js project, with each vulnerability's affected versions and CVE numbers. No script is downloaded, so a library bundled into the site's own files is not seen; a clean result means nothing visible, not nothing at all.

Subresource Integrity (SRI, W3C standard) is a hash attribute on <script> and <link> tags that lets the browser verify the resource's bytes match an expected hash before executing it. Without SRI, a third-party CDN compromise injects code into every page that loads from it. The 2018 Ticketmaster breach came through a third-party chat script that attackers modified; Magecart attacks like it are the reason SRI exists. With SRI on every external resource, the same compromise causes scripts to fail to load instead of executing attacker code.

Mixed content is HTTP resources loaded by an HTTPS page. Browsers block it by default for scripts and stylesheets (active mixed content) but allow it for images and audio with a console warning (passive mixed content). Either way, a network attacker can substitute the unencrypted resource — for a script, that's full control of the page; for an image it's smaller but still a tracking and tampering vector.

The accessibility signals are not a substitute for a proper a11y audit: empty buttons, missing alt= attributes, missing form labels, missing <html lang=>. They're the kind of thing a quick visual scan catches that automated WAVE/Axe/pa11y tooling would catch in much more depth. A clean signal here means nothing structural is obviously broken; it doesn't mean the site is fully accessible.

How to fix it

Add integrity= attributes to all <script> and <link> tags loading from third-party origins; never include http:// resources in HTTPS pages.

The 11 Page content checks Vendor Audit runs

Each check has a fixed set of results, and each result has one rating. These are the exact words the report uses.

Subresource Integrity

Standard: W3C SRI

What it checks. Subresource Integrity adds a hash to a script or stylesheet tag so the browser can check the file it downloads.

Why it matters. Without it, whoever can change the file on the other host can run code on this site.

How to fix it. Add integrity= and crossorigin= attributes to tags that load from other origins, or host the files on the site itself.

Mixed content (in-page)

Standard: W3C Mixed Content

What it checks. A page served over HTTPS should load every resource over HTTPS.

Why it matters. A resource loaded over plain HTTP can be read or changed in transit, and browsers block or warn about it.

How to fix it. Change the http:// addresses to https://, or host the resource on the site itself.

Forms submit over HTTPS

Standard: OWASP ASVS V9.1.1

What it checks. A form's action is the address what's typed into it is sent to.

Why it matters. A form on an https page that sends to an http:// address sends logins, card numbers and contact details unencrypted, where anyone on the network path can read or change them. Browsers warn before submitting it.

How to fix it. Change the form's action to https://, or to a relative address.

Page language declared

Standard: WCAG 2.1 SC 3.1.1

What it checks. The lang attribute on <html> names the page's language.

Why it matters. Screen readers use it to pick a voice and pronunciation, and browsers to offer translation. WCAG 2.1 requires it (success criterion 3.1.1).

How to fix it. Add lang to the <html> element, for example <html lang="en">.

Known-vulnerable libraries

Standard: OWASP Top 10 A06:2021; retire.js

What it checks. The version of each JavaScript library the page loads, read from the script addresses and the page itself, checked against retire.js's list of known vulnerabilities. Scripts are not downloaded, so a library bundled into the site's own files is not seen.

Why it matters. Most of these are cross-site scripting flaws: with the right input, an attacker runs code in visitors' browsers on the site. They are public, with fixes, so they are among the first things attackers try.

How to fix it. Upgrade the library to a version past the listed vulnerabilities, or remove it if nothing uses it.

Third-party scripts

Standard: W3C SRI; OWASP Third-Party JavaScript Management

What it checks. The other sites the page runs JavaScript from: analytics, tag managers, chat widgets, CDNs.

Why it matters. A script runs with the page's full access: it can read what visitors type and change what they see. Each site listed is part of the vendor's supply chain, and a compromise there reaches every visitor.

How to fix it. Remove scripts that aren't needed, host the rest on the site's own domain where possible, and pin the rest with Subresource Integrity and a Content-Security-Policy.

Script source domains

Standard: OWASP Third-Party JavaScript Management

What it checks. The other sites a page loads scripts from, checked in DNS, and against domains run by the operator behind the 2024 polyfill.io supply-chain attack.

Why it matters. A script runs with the page's full power. If its domain no longer exists, whoever registers it next can serve their own code to every visitor. polyfill.io did serve malware to over 100,000 sites in 2024; its operator's other CDNs (polyfill.com, bootcdn.net, bootcss.com, staticfile.net, staticfile.org) shared its account, so they can't be trusted either.

How to fix it. Remove the script, or serve a copy from your own site (with Subresource Integrity if it stays external).

Image alt text

Standard: WCAG 2.2 SC 1.1.1

What it checks. The alt attribute on <img> describes the image for people who can't see it. An image that is only decoration takes an empty alt="".

Why it matters. Screen readers read the file name, or nothing, for an image without one. WCAG 2.2 requires a text alternative (success criterion 1.1.1), and accessibility laws in many places point to WCAG.

How to fix it. Give each meaningful image an alt describing it, and decorative ones alt="".

Form labels

Standard: WCAG 2.2 SC 1.3.1, 4.1.2

What it checks. Each form field should have a label: a <label> element, or aria-label or aria-labelledby.

Why it matters. Without one, a screen reader announces only "edit text", and voice control can't name the field. WCAG 2.2 requires it (success criteria 1.3.1 and 4.1.2).

How to fix it. Add a <label for="…"> for each field, or an aria-label where a visible label doesn't fit. A placeholder is not a label.

Page zoom allowed

Standard: WCAG 2.2 SC 1.4.4

What it checks. The viewport meta tag tells phones how to scale the page.

Why it matters. user-scalable=no, or a maximum-scale under 2, stops people enlarging the text, which many need to read it. WCAG 2.2 success criterion 1.4.4 asks for text that can be resized to 200%.

How to fix it. Remove user-scalable=no and maximum-scale from the viewport tag, for example <meta name="viewport" content="width=device-width, initial-scale=1">.

Page title

Standard: WCAG 2.2 SC 2.4.2

What it checks. The <title> element names the page.

Why it matters. Screen readers announce it first, and browsers show it in tabs, history and bookmarks. WCAG 2.2 success criterion 2.4.2 (Level A) requires one that describes the page.

How to fix it. Add a <title> to the page's <head>, for example <title>Products — Example Inc.</title>.

Related

Content Security Policy · End-of-life software