ADVISORIES

GitHub Advisory Database

GHSA-vwhg-jwr4-vxgg

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.

Affected packages

EcosystemPackageAffected versions
npmgettext.js
All versions before 2.0.3 (fixed in 2.0.3)

References