Skip to content
Prototype pollution Disclosed report CVE-2021-3918

json-schema is vulnerable to Prototype Pollution

kriszyp/json-schema

Originally disclosed on huntr

Critical View original

json-schema before version 0.4.0 is vulnerable to Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').

From the GitHub Advisory Database (GHSA-896r-f27r-55mw, CC BY 4.0).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A critical-severity prototype pollution bug in json-schema. huntr made it public on 19 November 2021 as CVE-2021-3918. Fixed in version 0.4.0.

About Prototype pollution

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Prototype pollution?

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.

Similar reports

View all

Same bug class and techniques, clearest first.

Prototype pollution

The lesson behind this report.

Input changes JavaScript's shared object prototype, altering behaviour across the application, sometimes to XSS or code execution.