Nixpkgs security tracker

Login with GitHub

Details of issue NIXPKGS-2026-0489

NIXPKGS-2026-0489
published 3 months, 4 weeks ago
Permalink CVE-2026-28338
6.8 MEDIUM
  • CVSS version (CVSS): 3.1
  • Attack Vector (AV): Network (N)
  • Attack Complexity (AC): High (H)
  • Privileges Required (PR): None (N)
  • User Interaction (UI): Required (R)
  • Scope (S): Unchanged (U)
  • Confidentiality (C): High (H)
  • Integrity (I): High (H)
  • Availability (A): None (N)
  • Modified Attack Vector (MAV): Network (N)
  • Modified Attack Complexity (MAC): High (H)
  • Modified Privileges Required (MPR): None (N)
  • Modified User Interaction (MUI): Required (R)
  • Modified Confidentiality (MC): High (H)
  • Modified Scope (MS): Unchanged (U)
  • Modified Integrity (MI): High (H)
  • Modified Availability (MA): None (N)
updated 3 months, 4 weeks ago by @LeSuisse Activity log
  • Created suggestion
  • @LeSuisse ignored
    21 packages
    • phpPackages.phpmd
    • php81Packages.phpmd
    • php82Packages.phpmd
    • php83Packages.phpmd
    • php84Packages.phpmd
    • php85Packages.phpmd
    • python312Packages.pyppmd
    • python313Packages.pyppmd
    • python314Packages.pyppmd
    • python312Packages.pmdarima
    • python313Packages.pmdarima
    • python314Packages.pmdarima
    • python312Packages.pytun-pmd3
    • python313Packages.pytun-pmd3
    • python314Packages.pytun-pmd3
    • python312Packages.sslpsk-pmd3
    • python313Packages.sslpsk-pmd3
    • python314Packages.sslpsk-pmd3
    • python312Packages.pmdsky-debug-py
    • python313Packages.pmdsky-debug-py
    • python314Packages.pmdsky-debug-py
  • @LeSuisse accepted
  • @LeSuisse published on GitHub
PMD Designer has Stored XSS in VBHTMLRenderer and YAHTMLRenderer via unescaped violation messages

PMD is an extensible multilanguage static code analyzer. Prior to version 7.22.0, PMD's `vbhtml` and `yahtml` report formats insert rule violation messages into HTML output without escaping. When PMD analyzes untrusted source code containing crafted string literals, the generated HTML report contains executable JavaScript that runs when opened in a browser. Practical impact is limited because `vbhtml` and `yahtml` are legacy formats rarely used in practice. The default `html` format is properly escaped and not affected. Version 7.22.0 contains a fix for the issue.

Affected products

pmd
  • ==< 7.22.0

Matching in nixpkgs

pkgs.pmd

Extensible cross-language static code analyzer

Ignored packages (21)

pkgs.python313Packages.pmdarima

Statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function

pkgs.python314Packages.pmdarima

Statistical library designed to fill the void in Python's time series analysis capabilities, including the equivalent of R's auto.arima function

Upstream advisory: https://github.com/pmd/pmd/security/advisories/GHSA-8rr6-2qw5-pc7r
Upstream patch: https://github.com/pmd/pmd/commit/c140c0e1de5853a08efb84c9f91dfeb015882442