GO-V.ORG
As seen in

Caja project

Caja (pronounced ) was a Google project for sanitizing third party HTML, CSS, and JavaScript.[src] On January 31, 2021, Google archived the project due to known vulnerabilities and lack of maintenance to keep up with the latest web security research, recommending instead the Closure toolkit.[src] The Caja project was led by Jasvir Nagra with the JavaScript portion designed by Google research scientist Mark S.[src] Miller in 2008 as a JavaScript implementation for "virtual iframes" based on the principles of object-capabilities.[src] It would take JavaScript (technically, ECMAScript 5 strict mode code), HTML, and CSS input and rewrite it into a safe subset of HTML and CSS, plus a single JavaScript function with no free variables.[src] That means the only way such a function could modify an object, was if it was given a reference to the object by the host page.[src] Instead of giving direct references to DOM objects, the host page typically gives references to wrappers that sanitize HTML, proxy URLs, and prevent redirecting the page; this allowed Caja to prevent certain phishing and cross-site scripting attacks, and prevent downloading malware.[src] Also, since all rewritten programs ran in the same frame, the host page could allow one program to export an object reference to another program; then inter-frame communication was simply method invocation.…[src]

Caja (pronounced ) was a Google project for sanitizing third party HTML, CSS, and JavaScript.[src] On January 31, 2021, Google archived the project due to known vulnerabilities and lack of maintenance to keep up with the latest web security research, recommending instead the Closure toolkit.[src] The Caja project was led by Jasvir Nagra with the JavaScript portion designed by Google research scientist Mark S.[src] Miller in 2008 as a JavaScript implementation for "virtual iframes" based on the principles of object-capabilities.[src] It would take JavaScript (technically, ECMAScript 5 strict mode code), HTML, and CSS input and rewrite it into a safe subset of HTML and CSS, plus a single JavaScript function with no free variables.[src] That means the only way such a function could modify an object, was if it was given a reference to the object by the host page.[src] Instead of giving direct references to DOM objects, the host page typically gives references to wrappers that sanitize HTML, proxy URLs, and prevent redirecting the page; this allowed Caja to prevent certain phishing and cross-site scripting attacks, and prevent downloading malware.[src] Also, since all rewritten programs ran in the same frame, the host page could allow one program to export an object reference to another program; then inter-frame communication was simply method invocation.[src] The word "caja" is Spanish for "box" or "safe" (as in a bank), the idea being that Caja could safely contain JavaScript programs as well as being a capabilities-based JavaScript.[src] Caja was used by Google in its Google Apps Script products.[src] In 2008 MySpace and Yahoo![src] had both deployed a very early version of Caja.[src]

20 sentences · 20 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Caja project." encyclopegia.org, 2025, https://encyclopegia.org/wiki/caja-project. Accessed 06 December 2026.

Chicago

"Caja project." encyclopegia.org. Accessed December 6, 2026. https://encyclopegia.org/wiki/caja-project.

APA

encyclopegia.org. (2025). Caja project. Retrieved December 6, 2026, from https://encyclopegia.org/wiki/caja-project

Accessed December 6, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Project:Village pump

stub · references available

Project:Deletion requests

stub · references available

Pylons Project

stub · references available

Alexandra's Project

stub · references available

Project Gemini

stub · references available

Project X

stub · references available

Project 1143.7 aircraft carrier

stub · references available

Gundam Development Project

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1305505698 · 0.5 · snapshot enwiki-001305505698

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.