CVE catalog

CVE-2024-43370

gettext.js: CVE-2024-43370

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.38% · Oct 25, 2026

gettext.js is a GNU gettext port for node and the browser. There is a cross-site scripting (XSS) injection if `.po` dictionary definition files are corrupted. This vulnerability has been patched in version 2.0.3. As a workaround, control the origin of the definition catalog to prevent the use of this flaw in the definition of plural forms.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiangettext.jssid0.7.0-4fixed
Debiangettext.jsforky0.7.0-4fixed
Debiangettext.jstrixie0.7.0-4fixed
Debiangettext.jsbookworm0.7.0-3+deb12u1fixed
Ubuntugettext.js18.040.5.3-1vulnerable
Ubuntugettext.js18.040.5.4-1vulnerable
Ubuntugettext.js20.040.5.4-1vulnerable
Ubuntugettext.js22.040.7.0-2vulnerable
Ubuntugettext.js24.040.7.0-3vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiangettext.jssourcesid0.7.0-4not yet assignedNot reported[1078880]
Debiangettext.jssourceforky0.7.0-4not yet assignedNot reported[1078880]
Debiangettext.jssourcetrixie0.7.0-4not yet assignedNot reported[1078880]
Debiangettext.jssourcebookworm0.7.0-2+deb11u1not yet assignedNot reported[1078880]

[Debian bug #1078880]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [gettext.js]

    Details (2)
    • 0.7.0-3+deb12u1 · all · bookworm

      Fixed · Fixed: 0.7.0-2+deb11u1

      dsa · gettext.js · debian · bookworm; dsa · gettext.js · debian · 12

    • 0.7.0-3+deb12u1 · all · bookworm

      Fixed · Fixed: 0.7.0-2+deb11u1

      dsa · gettext.js · debian · bookworm; dsa · gettext.js · debian · 12

  • Source package: [gettext.js]

    Details (2)
    • 0.7.0-3+deb12u1 · all · bookworm

      Fixed · Fixed: 0.7.0-2+deb11u1

      dsa · gettext.js · debian · bookworm; dsa · gettext.js · debian · 12

    • 0.7.0-3+deb12u1 · all · bookworm

      Fixed · Fixed: 0.7.0-2+deb11u1

      dsa · gettext.js · debian · bookworm; dsa · gettext.js · debian · 12

[Debian 13 (Trixie)]

  • Source package: [gettext.js]

    Details (2)
    • 0.7.0-4 · all · trixie

      Fixed · Fixed: 0.7.0-4

      dsa · gettext.js · debian · 13

    • 0.7.0-4 · all · trixie

      Fixed · Fixed: 0.7.0-4

      dsa · gettext.js · debian · 13

  • Source package: [gettext.js]

    Details (2)
    • 0.7.0-4 · all · trixie

      Fixed · Fixed: 0.7.0-4

      dsa · gettext.js · debian · 13

    • 0.7.0-4 · all · trixie

      Fixed · Fixed: 0.7.0-4

      dsa · gettext.js · debian · 13

Observed:

References