Neova고급 SEO 플랫폼

외부 스타일시트에 Subresource Integrity가 없음

Neova에서는 크롤링 자체에서 실행됩니다. 따로 설정할 것이 없습니다.

규칙 최종 검토: 2026년 10월 17일 · 가이드 업데이트: 2026년 7월 1일

integrity 해시가 없는 다른 호스트의 스타일시트는 그 호스트가 침해되거나 파일이 바뀌어도 브라우저에서 그대로 적용됩니다. 이는 보안 관행이며, 검색엔진의 규칙이 아닙니다.

해 볼 수 있는 조치

link 태그에 파일 해시를 담은 integrity 속성과 crossorigin=anonymous를 추가하거나, 파일을 자체 도메인에서 호스팅하세요.

Neova가 플래그를 지정하는 이유

  • integrity 해시 없이 다른 호스트에서 불러온 스타일시트는 그 호스트가 제공하는 무엇이든 적용하며, CSS는 방문자가 보는 내용을 바꾸거나 데이터를 유출할 수 있습니다.
  • 하위 리소스 무결성(SRI)은 해시가 일치하지 않는 파일을 브라우저가 거부하게 하며, 버전이 붙은 파일은 바뀌지 않아야 합니다.
  • 검색엔진 규칙이 아니라 보안 관례입니다.

출처

전체 가이드

이 부분은 현재 영어로만 제공됩니다.

Element Code: SE-015

TL;DR: This flag means you load a CSS file from a third party or CDN with a <link> tag that has no integrity attribute. Without Subresource Integrity, the browser will apply whatever bytes that host returns, even if the file was swapped or tampered with. Add an SRI hash plus crossorigin so the browser refuses to load altered CSS.
CHECK TYPE
Security
STANDARD
W3C SRI
APPLIES TO
External CSS
SEVERITY
Medium
FIX TIME
Minutes per file

What Subresource Integrity Is and What the Flag Means

Subresource Integrity, SRI, is a browser feature defined by the W3C. You put a cryptographic hash of the exact file you expect into the integrity attribute of a <script> or <link> tag. When the browser downloads the resource, it hashes what it received and compares. Match, it applies the file. Mismatch, it blocks the file entirely and logs a console error. Simple, and effective.

This check fires when a stylesheet is pulled from an external origin (a public CDN, a font or widget host, a third party design kit) using a bare <link rel="stylesheet" href="..."> with no integrity attribute. That means your page will trust and render whatever CSS that host serves at request time, with no verification that it is the file you intended.

Why Unverified Third Party CSS Is a Real Risk

People wave this away with "it is only CSS, what is the worst that happens." More than you would like. CSS is not passive decoration. It can:

  • Exfiltrate data. CSS attribute selectors combined with background image requests can leak the contents of form fields and hidden tokens to an attacker controlled server. This is a documented class of attack, not theory.
  • Deface and phish. Malicious CSS can hide the real UI, overlay a fake login prompt, reposition buttons over links, or swap your branding, all without touching a line of your HTML.
  • Break the page. Even a botched or corrupted file from the CDN wrecks your layout for every visitor until someone notices.

The threat model that matters is supply chain: you do not control the CDN. If that host is compromised, its account is hijacked, or a rogue update ships, your visitors silently receive weaponized bytes served from your own page. This is exactly the pattern behind real world CDN and third party script incidents. SRI is the seatbelt. It does not stop the crash on the CDN, it stops the crash from reaching your users, because the hash will not match and the browser refuses the file.

How SRI Verification Flows

Browser requests CSS from CDN Hash received file, sha384 Compare to integrity attr Match: apply CSS page renders normally Mismatch: block tampered file rejected

The Fix, Concretely

A protected stylesheet link looks like this. Two attributes get added: integrity with the algorithm prefixed base64 hash, and crossorigin="anonymous", which SRI requires for cross origin resources so the response is fetched in a way the browser can validate.

<link rel="stylesheet"
  href="https://cdn.example.com/lib/3.4.1/lib.min.css"
  integrity="sha384-9ndCyUa...base64hash...=="
  crossorigin="anonymous">

Step by step:

  1. Pin a version. SRI only works against an immutable file. Reference a specific version URL, never a "latest" or floating path, because the hash of latest changes without warning and blocks your own site.
  2. Generate the hash. Use the SRI Hash Generator at srihash.org, or on the command line: openssl dgst -sha384 -binary file.css | openssl base64 -A, then prefix with sha384-. Prefer sha384 or sha512 over sha256.
  3. Add both attributes. Put the integrity and crossorigin="anonymous" attributes on the link tag.
  4. Test in a browser. Load the page, open DevTools, and confirm the stylesheet applies and there is no integrity error in the console. Then flip one character of the hash and confirm the browser blocks it, so you know the guard is live.
  5. Repeat for every external stylesheet the check flagged, and script it into your build so new dependencies get hashed automatically.

SRI at a Glance

Attribute or Choice Value Note
integrity sha384-... Algorithm prefix plus base64 hash
crossorigin anonymous Required for cross origin SRI
Algorithm sha384 or sha512 sha256 allowed but weaker
Version Pinned, immutable Never "latest"
Self hosted CSS SRI optional Same origin, lower risk

How to Detect It

  1. Screaming Frog: crawl and check the resource and security reports, or use custom extraction to flag external <link rel="stylesheet"> tags that lack an integrity attribute.
  2. Browser DevTools: the Network tab shows every external CSS request and its origin, and the Security or Issues panel surfaces missing integrity warnings.
  3. Security scanners: tools like Mozilla Observatory and various header and dependency scanners report missing SRI on subresources.
  4. Manual source check: grep the rendered HTML for external stylesheet links and confirm each cross origin one carries integrity plus crossorigin.

Do This / Skip That

DO

  • Add integrity plus crossorigin to every external stylesheet
  • Pin an exact, immutable version URL
  • Use sha384 or sha512 for the hash
  • Automate hash generation in your build pipeline
  • Test that a wrong hash actually blocks the file
DON'T

  • Hash a "latest" or floating URL that can change under you
  • Dismiss CSS as harmless, it can leak and phish
  • Forget crossorigin, SRI silently will not validate without it
  • Leave a stale hash after you upgrade the library version
  • Assume the CDN will never be compromised

What Good Looks Like

Every stylesheet you pull from an origin you do not control carries a pinned version, an sha384 or sha512 integrity hash, and crossorigin="anonymous". Your build regenerates those hashes on every dependency bump so they never go stale. If a CDN ever serves altered CSS, your visitors get a blocked resource and a console error instead of a hijacked page. That is the trade you want: fail closed, not silently compromised.

FAQ

Does SRI Affect SEO or Page Speed?
Not directly on rankings, and the hash check is negligible for performance. Its value is security and reliability, which protect the user experience and brand trust that indirectly support SEO.
Do I Need SRI on My Own Self Hosted CSS?
It is optional for same origin files since you already control them. SRI matters most for cross origin resources you do not control. Some teams add it everywhere for defense in depth.
What Happens If the Hash Does Not Match?
The browser refuses to apply the file and logs an integrity error. That is by design: a mismatch means the bytes are not what you signed off on, so blocking them is the safe outcome.
Why Is Crossorigin Required?
For cross origin resources the browser must fetch in CORS mode to be allowed to read enough of the response to validate the hash. Without crossorigin="anonymous", SRI cannot verify and the resource fails.
Loading third party assets without integrity checks?

We audit your subresources, add SRI where it counts, and lock down the supply chain so a compromised CDN cannot reach your users.

내 사이트에서 찾아보기

Neova는 크롤링할 때마다 이 점검과 다른 모든 점검을 실행하고, 수정 방법을 팀을 위한 티켓으로 작성합니다.

  • Mac, Windows, Linux용 데스크톱 앱
  • 출처가 함께 있는 696개 점검 전체
  • Search Console과 Analytics 4를 읽기 전용으로 연결
  • Jira, Linear, Asana로 티켓 보내기

Neova 다운로드 Desktop Free 플랜 또는 Solo 14일 무료, 카드 불필요.

보안 점검 전체 · 가이드 · 점검 라이브러리

작성: Neova Labs · 점검 라이브러리로 돌아가기