Skip to content
Fencer Intel
medium 5.4

GHSA-ff38-p3qj-4pmf json

XSS via unescaped code for unsupported languages in @astrojs/prism

published 14d ago modified 14d ago

Unreviewed: the maintainers' own advisory

Published by the maintainers on their GitHub repository withastro/astro. GitHub has not reviewed it into the GitHub Advisory Database and no CVE record has reached us yet, so everything here comes from the maintainers alone. Read the full advisory on GitHub.

cvss
5.4
version 3.1, the maintainers
cisa kev
Not listed
not in CISA's catalog
epss
—
no score, EPSS covers CVEs only
public exploits
0
none known

Summary

Security advisory published by the maintainers of withastro/astro for @astrojs/prism and @astrojs/markdoc: the maintainers' own advisory, not a reviewed GitHub Advisory Database entry. The full advisory is on GitHub.

Patch / fix

  • npm @astrojs/prism 4.1.2
  • npm @astrojs/markdoc 2.1.2

Is GHSA-ff38-p3qj-4pmf in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

CVSS scores

assigned by version score vector
the maintainers 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
npm @astrojs/prism
<=4.1.1
4.1.2
npm @astrojs/markdoc
>=0.3.0, <=2.1.1
2.1.2

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of withastro/astro published their own advisory on GitHub. Its facts and headline are shown here; the description stays on GitHub.