Advisory

GHSA-vwhg-jwr4-vxgg

Also known as: CVE-2024-43370

Summary

gettext.js has a Cross-site Scripting injection

Details

Impact
Possible vulnerability to XSS injection if .po dictionary definition files is corrupted

Patches
Update gettext.js to 2.0.3

Workarounds
Make sure you control the origin of the definition catalog to prevent the use of this flaw in the definition of plural forms.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-08-15 18:06 UTC
Modified
2024-08-16 18:15 UTC

Affected packages and fixes

gettext.js

npm · All systems

Affected

  • introduced 0, fixed 2.0.3 (semver)

Fixed versions

2.0.3

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences