CVE-2026-141336: PHP Censor through 2.1.8 Stored XSS via Git Webhook Committer Parameter
PHP Censor through 2.1.8 contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject script via the committer parameter of the /webhook/git/<projectId> endpoint. Attackers can plant script stored as committeremail that executes in build views, dashboards, and public status pages to steal non-HttpOnly administrator session cookies.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to unauthenticated injection?
Deployments that expose the /webhook/git/<projectId> endpoint are exposed to unauthenticated script injection through its committer parameter. The injected value is stored as committer_email.
Where can the stored payload execute?
The payload can execute when the affected build views, dashboards, or public status pages render the stored committer_email value. This creates exposure for users who visit those pages, including administrators.
What could an attacker gain from successful exploitation?
A successful payload can steal administrator session cookies when those cookies are not marked HttpOnly. The reported impact includes confidentiality and integrity effects, with no availability impact specified.
Is user interaction required?
Yes. An attacker can submit the malicious webhook data without authentication, but the stored script executes only when a user views a page that renders the affected value.