CSP Violation Reporter
Collect and inspect Content Security Policy (CSP) reports with filtering, grouping, rate limits and automatic cleanup.
Use com cautela
CSP Violation Reporter works, but test it on a staging site before relying on it in 2026. It runs on 50+ sites, is rated 5/5 and was last updated 2 months ago, and scores 60/100 on our health check.
- Testado com as últimas WordPress (7.1)
- Pequena base de usuários (mais de 50 instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where CSP Violation Reporter stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| content security policy | >100 |
| csp | #3 |
| reporting | >100 |
| reports | >100 |
| segurança | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
Divisão de classificação
★★★★★ ★★★★★ 5 de 1 comentários
About CSP Violation Reporter
From the official readme · v0.2.0Descrição
CSP Violation Reporter helps site administrators investigate Content Security Policy violations. It receives browser reports through a public WordPress REST endpoint, stores them in the site’s own database, and provides a searchable administrative dashboard.
Reports can be reviewed from Tools > CSP Violations. The plugin supports the modern Reporting API payload format as well as the older csp-report JSON shape.
- Review violations by directive, blocked resource, document URL, disposition and date.
- Group noisy resources and count repeated occurrences without storing an extra row for every identical report.
- Inspect safely escaped raw JSON, source locations, referrers and first/last-seen timestamps.
- Configure rate limits, retention and the maximum number of stored records.
- Receive same-origin iframe reports and automatically upgrade the database schema without reactivation.
Filter by directive, disposition, URL and date range, or group violations by resource. Repeated violations with the same document, blocked resource, directive, policy and source location share one record with an occurrence count. Each record includes first/last-seen timestamps and the latest raw JSON report.
Protection is enabled by default:
- Accepts document URLs only from the origins configured in this site’s WordPress Address and Site Address. Redacted iframe reports require a local referrer.
- Limits intake to 100 reports per minute per connecting address and 1,000 reports per minute for the site.
- Limits request bodies to 64 KiB, individual normalized reports to 16 KiB and batches to 50 entries.
- Removes inactive reports after 30 days and retains at most 10,000 records, keeping the most recently seen.
Retention and quotas can be adjusted in Tools > CSP Violations > Settings. Existing reports are preserved during schema upgrades; retention rules also apply to pre-upgrade reports.
Endpoint:
/wp-json/csp-violation-reporter/v1/report
The plugin does not create or modify Content Security Policy headers. Site owners should configure CSP headers in their web server, hosting dashboard, theme, or security tooling.
Example report endpoint configuration:
Content-Security-Policy: default-src 'self'; report-uri https://example.com/wp-json/csp-violation-reporter/v1/report
For the modern Reporting API, use an HTTPS endpoint:
Reporting-Endpoints: csp-endpoint="https://example.com/wp-json/csp-violation-reporter/v1/report"
Content-Security-Policy: default-src 'self'; report-to csp-endpoint
Privacidade
This plugin stores CSP violation reports submitted by browsers. Stored fields can include the document URL, referrer URL, blocked URI, violated directive, source file, line and column numbers, a user agent string, a salted hash of the remote address, and the raw report payload.
Short-lived rate-limit records contain a salted address hash and counters. Raw JSON can contain URL query parameters and other information supplied by the browser. Administrators should set retention to suit their site’s privacy policy. Reports expire by last-seen time and can also be cleared manually. Uninstalling removes the plugin’s report tables, protection settings and scheduled cleanup events.
The plugin does not store raw IP addresses and does not transmit report data to external services.
Instalação
- Upload the plugin folder to
/wp-content/plugins/. - Activate the plugin through the Plugins screen in WordPress.
- Open Tools > CSP Violations to copy the reporting endpoint.
- Configure your CSP Reporting API group and reference it from your
report-todirective.
Log de Changes
Back up your database. Enables origin checks, rate limits, 30-day retention and a 10,000-record cap by default, including old reports. Review Tools > CSP Violations > Settings. Endpoint URL unchanged.
0.2.0
- Tested compatibility with WordPress 7.1, 7.1.2 and the minimum supported WordPress 6.5.
- Added atomic per-address and site-wide rate limits and reduced payload and batch ceilings.
- Validated reported document origins against the current site’s URLs.
- Supported same-origin iframe reports, including browser-redacted about/blob URLs.
- Added configurable retention, a storage ceiling and scheduled cleanup.
- Deduplicated new violations with occurrence counts and first/last-seen times.
- Added filters, grouped views and safely escaped raw JSON details.
- Added automatic versioned database upgrades and complete lifecycle cleanup.
- Corrected modern originalPolicy and legacy script-sample field handling.
- Preserved the existing endpoint and accepted-response format for integrations.
- Improved grouped display of historical reports without a directive.
0.1.1
- Prepared SQL statements that include the plugin’s custom table name.
0.1.0
- Initial development release.
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best CSP Violation Reporter alternatives
All content security policy plugins →FAQ
CSP Violation Reporter: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: WordPress.org
Is CSP Violation Reporter free?
Yes. CSP Violation Reporter is free to download and use from the official WordPress.org plugin directory.
Is CSP Violation Reporter safe to use in 2026?
CSP Violation Reporter works, but test it on a staging site before relying on it in 2026. It runs on 50+ sites, is rated 5/5 and was last updated 2 months ago, and scores 60/100 on our health check.
How many websites use CSP Violation Reporter?
CSP Violation Reporter is active on 50+ WordPress websites and has been downloaded 761 times since it launched in May 2026. It was downloaded 234 times in the last 30 days.
Does CSP Violation Reporter work with WordPress 7.1?
Yes. The developer has tested CSP Violation Reporter up to WordPress 7.1.5, the latest release. It requires WordPress 6.5 or newer.
What PHP version does CSP Violation Reporter need?
CSP Violation Reporter requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was CSP Violation Reporter last updated?
The latest version, 0.2.0, was released on October 3, 2026 (2 months ago).
Who makes CSP Violation Reporter?
CSP Violation Reporter is developed and maintained by Guilherme Dumas Peres.
What are the best alternatives to CSP Violation Reporter?
The most popular alternatives to CSP Violation Reporter are Cookies and Content Securit… (10K+ installs), Content Security Policy Man… (2K+ installs) and HTTP Security Header (1K+ installs).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito
