pypi package report

Is prowler safe?

1 known vulnerability, worst severity MODERATE.

// reach

100 direct dependencies

9 carry known advisories, worst CRITICAL

0 packages depend on it

an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    No published models are known to use this package.


    cvss
    5.4
    medium

    CVSS v3.1 base score out of 10

    epss
    0.30%
    low

    chance of exploitation in 30 days, 23rd percentile of all CVEs

    xyz score
    not scored

    CyberXYZ composite out of 10

    fig. 01 — GHSA-c2jg-2778-ggm4, the advisory selected below

    // 1 advisories

    GHSA-c2jg-2778-ggm4

    MODERATEGitHub ratingCVE-2026-73262
    // summary

    Prowler's HTML output formatter inserts finding.resource_tags into the generated report without HTML escaping. A cloud principal who can create or edit a resource tag in an account that is later scanned can store HTML or JavaScript in that tag. When another user opens the generated Prowler HTML report, the payload executes in the report page.

    // impact

    This is stored cross-site scripting in a security report artifact. The attacker needs permission to influence tags on a scanned cloud resource, and the victim must open the generated HTML report. In that context, JavaScript can read and modify the report DOM, alter displayed findings, and interact with any same-origin local or hosted report content available to the browser. This can undermine trust in generated security findings and can expose data contained in the report page.

    // gate checks

    The repository has 13,875 GitHub stars, which is above the 10,000 star floor. SECURITY.md is present and does not reject GitHub private reporting. The dedicated GitHub private vulnerability reporting endpoint for prowler-cloud/prowler returned true.

    // affected versions

    The vulnerable sink is present in current master at commit 329dfdf8e6cb and in the latest GitHub release tag 5.28.0. The package metadata identifies the Python package as prowler.

    // technical details

    The HTML formatter builds each finding row with an f-string in prowler/lib/outputs/html/html.py. Neighboring fields are explicitly escaped:

    • resource_uid is escaped at line 85 with .replace("<", "&lt;").replace(">", "&gt;").
    • status_extended is escaped at line 87 with the same pattern.

    The tag column does not apply equivalent escaping:

    <td>{parse_html_string(unroll_dict(finding.resource_tags))}</td>

    unroll_dict concatenates tag keys and values into a string, and parse_html_string only prefixes each item with an HTML bullet. Neither function escapes <, >, quotes, or event-handler attributes before insertion into the table cell. As a result, a tag value such as this remains active markup in the generated report:

    <img src=x onerror="window.PROWLER_TAG_XSS=1">
    // reproduction
    • Create or identify a cloud resource that Prowler will include in an HTML report.
    • Add a tag value containing a harmless proof payload, for example:
    <img src=x onerror="window.PROWLER_TAG_XSS=1">
    • Run Prowler against the account and generate HTML output.
    • Open the generated HTML report in a browser.
    • The payload executes from the tags column.

    A proof HTML fragment using the same formatter structure set window.PROWLER_TAG_XSS=1 from resource_tags, while equivalent payloads in resource_uid and status_extended stayed text because those fields are escaped.

    Local evidence:

    • /home/unkn0wn/security_audit/vulnerability-reports/prowler-html-tag-xss-evidence-2026-05-26.json
    • /home/unkn0wn/security_audit/vulnerability-reports/prowler-html-tag-xss-proof-full.html
    // poc

    The minimized generated row below mirrors the vulnerable formatter output. The first and third candidate payloads are escaped controls. The middle payload is the unescaped resource_tags value and executes when the report is rendered.

    <tr class="table-danger">
      <td>&lt;img src=x onerror="window.PROWLER_UID_XSS=1"&gt;</td>
      <td>
        &#x2022;Owner=<img src=x onerror="window.PROWLER_TAG_XSS=1;document.body.setAttribute('data-prowler-tag-xss','1')">
      </td>
      <td>&lt;img src=x onerror="window.PROWLER_STATUS_XSS=1"&gt;</td>
    </tr>

    Browser proof result from the local artifact:

    {"tag": 1, "uid": 0, "status": 0, "attr": "1"}
    // remediation

    Escape tag keys and values before inserting them into HTML output. Prefer a single HTML escaping helper for every finding field that can originate from provider data. If bullets or separators are needed, build the list structure after escaping each key and value, rather than escaping the final HTML string after markup has been added.

    // cvss v3.1 vector

    CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

    Attack vector
    Network
    Attack complexity
    Low
    Privileges required
    Low
    User interaction
    Required
    Scope
    Changed
    Confidentiality
    Low
    Integrity
    Low
    Availability
    None

    Checked 2026-11-06 at 22:18 UTC. The most recent advisory here was published 2026-09-08. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.