GHSA-xfqm-j7pc-xrfc

Suggest an improvement
Source
https://github.com/advisories/GHSA-xfqm-j7pc-xrfc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-xfqm-j7pc-xrfc/GHSA-xfqm-j7pc-xrfc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xfqm-j7pc-xrfc
Aliases
Published
2025-09-24T21:30:37Z
Modified
2025-09-25T17:12:19.133452Z
Severity
  • 1.7 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U CVSS Calculator
Summary
messageformat has a prototype pollution vulnerability
Details

The messageformat package, an implementation of the Unicode MessageFormat 2 specification for JavaScript, is vulnerable to prototype pollution due to improper handling of message key paths in versions prior to 2.3.0. The flaw arises when processing nested message keys containing special characters (e.g., proto ), which can lead to unintended modification of the JavaScript Object prototype. This vulnerability may allow a remote attacker to inject properties into the global object prototype via specially crafted message input, potentially causing denial of service or other undefined behaviors in applications using the affected component.

Database specific
{
    "cwe_ids": [
        "CWE-1321"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-09-25T16:46:42Z",
    "nvd_published_at": "2025-09-24T19:15:40Z",
    "severity": "LOW"
}
References

Affected packages

npm / messageformat

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0-beta.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/09/GHSA-xfqm-j7pc-xrfc/GHSA-xfqm-j7pc-xrfc.json"
last_known_affected_version_range
"< 2.3.0"